]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/events_js.tpl
Merge pull request #5732 from annando/fix-picture-posts
[friendica.git] / view / theme / frio / templates / events_js.tpl
index cdf1636fe391a687e41b9116006acaf1838bd48d..a4ca9004cd08295688c58dc3969d09ce7937cd2c 100644 (file)
@@ -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" onclick="addToModal('{{$new_event.0}}')" title="{{$new_event.1}}" data-toggle="tooltip">
-                       <i class="faded-icon fa fa-plus"></i>
+               <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">