Commit cea7b30 1 parent 0b2fac0 commit cea7b30 Copy full SHA for cea7b30
File tree 4 files changed +7
-9
lines changed
4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ public function beforeRender() : void
125
125
126
126
$ this ->template ->settings = $ this ->settingsService ;
127
127
128
- $ this ->template ->containerAttributes = '' ;
129
-
130
128
$ skautIsUserId = $ this ->dbuser ->getSkautISUserId ();
131
129
$ skautIsRoles = $ this ->skautIsService ->getUserRoles ($ skautIsUserId );
132
130
$ skautIsRoleSelectedId = $ this ->skautIsService ->getUserRoleId ();
Original file line number Diff line number Diff line change 20
20
{ include main-menu}
21
21
</div >
22
22
23
- <div class =" container-fluid" { $ containerAttributes |noescape } >
23
+ <div class =" container-fluid" >
24
24
<div id =" content" class =" row" >
25
25
<div id =" sidebar" class =" col-3" n:ifcontent >
26
26
{ ifset #sidebar}
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ class SchedulePresenter extends ProgramBasePresenter
22
22
*/
23
23
public function renderDefault () : void
24
24
{
25
- $ this ->template ->containerAttributes = 'ng-app="scheduleApp" ng-controller="AdminScheduleCtrl" ' ;
26
25
$ this ->template ->isAllowedModifySchedule = $ this ->settingsService ->getBoolValue (Settings::IS_ALLOWED_MODIFY_SCHEDULE );
27
26
}
28
27
}
Original file line number Diff line number Diff line change 9
9
</div >
10
10
<div class =" modal-body" >
11
11
<ul class =" list-unstyled" >
12
- <li ng -if =" event.block.category" >
12
+ <li v -if =" selectedEventInfo. event.extendedProps .block.category" >
13
13
<strong >Kategorie: </strong >
14
14
{{ selectedEventInfo.event.extendedProps.block.category }}
15
15
</li >
16
- <li ng -if =" event.room " >
16
+ <li v -if =" selectedEventInfo. event.getResources().length > 0 " >
17
17
<strong >Místnost: </strong >
18
- {{ selectedEventInfo.event.getResources().length > 0 ? selectedEventInfo.event.getResources() [0].title : '' }}
18
+ {{ selectedEventInfo.event.getResources()[0].title }}
19
19
</li >
20
20
<li >
21
21
<strong >Obsazenost: </strong >
26
26
</li >
27
27
</ul >
28
28
29
- <div ng -if =" event.block.lectors" >
29
+ <div v -if =" selectedEventInfo. event.extendedProps. block.lectors.length > 0 " >
30
30
<h6 >Lektoři</h6 >
31
31
<div v-for =" lector in selectedEventInfo.event.extendedProps.block.lectors" >
32
32
<b >{{ lector.name }}</b >
166
166
],
167
167
defaultView: localStorage .getItem (" fcDefaultView" ) || " timeGridSeminar" ,
168
168
selectedEventInfo: null ,
169
- userAllowedRegisterPrograms: userAllowedRegisterPrograms
169
+ userAllowedRegisterPrograms: userAllowedRegisterPrograms,
170
+ basePath: basePath
170
171
}
171
172
},
172
173
computed: {
You can’t perform that action at this time.
0 commit comments