mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Frio - bugfix - don't show new event button if the button isn't available
This commit is contained in:
parent
39d35025b5
commit
26607d4a27
1 changed files with 2 additions and 0 deletions
|
@ -3,11 +3,13 @@
|
|||
{{include file="section_title.tpl" title=$title pullright=1}}
|
||||
|
||||
{{* The link to create a new event *}}
|
||||
{{if $new_event.0}}
|
||||
<div class="pull-right" id="new-event-link">
|
||||
<button type="button" class="btn-link page-action faded-icon" onclick="addToModal('{{$new_event.0}}')" title="{{$new_event.1}}" data-toggle="tooltip">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{* We create our own fullcallendar header (with title & calendar view *}}
|
||||
<div id="fc-header" class="clear">
|
||||
|
|
Loading…
Reference in a new issue