- Open Dialog for Operators when click on Chip #91
- HOME: Show last 5 Events #99 - Creating HOME page with the Services Offering (Disciplines...) #96 - CCardDiscipline #104
This commit is contained in:
@@ -14,17 +14,20 @@ export default class MixinEvents extends Vue {
|
||||
|
||||
public getImgEvent(event: IEvents) {
|
||||
if (!!event.img)
|
||||
return '../../statics/' + event.img
|
||||
return 'statics/' + event.img
|
||||
else
|
||||
return '../../statics/images/noimg.png'
|
||||
return 'statics/images/noimg.png'
|
||||
}
|
||||
|
||||
|
||||
public getStyleByEvent(event: IEvents, visu: boolean) {
|
||||
if (visu) {
|
||||
return 'border: inset; border-color: darkblue; border-width: 3px; padding: 5px !important; '
|
||||
} else {
|
||||
return ''
|
||||
let myst = 'border: inset; border-color: darkblue; border-width: 3px; padding: 5px !important; '
|
||||
|
||||
if (!this.isEventEnabled(event)) {
|
||||
myst += ' opacity: 0.5'
|
||||
}
|
||||
|
||||
return myst
|
||||
}
|
||||
|
||||
public isAlreadyBooked(eventparam: IEvents) {
|
||||
|
||||
Reference in New Issue
Block a user