mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-59671 core_calendar: add visibility logic to template
This commit is contained in:
parent
4df03a279a
commit
1106040a4d
@ -26,7 +26,11 @@
|
||||
}}
|
||||
{{< core/modal }}
|
||||
{{$footer}}
|
||||
<button type="button" class="btn btn-secondary" data-action="delete">{{#str}} delete {{/str}}</button>
|
||||
<button type="button" class="btn btn-primary" data-action="edit">{{#str}} edit {{/str}}</button>
|
||||
{{#canedit}}
|
||||
{{#candelete}}
|
||||
<button type="button" class="btn btn-secondary" data-action="delete">{{#str}} delete {{/str}}</button>
|
||||
{{/candelete}}
|
||||
<button type="button" class="btn btn-primary" data-action="edit">{{#str}} edit {{/str}}</button>
|
||||
{{/canedit}}
|
||||
{{/footer}}
|
||||
{{/ core/modal }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user