]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/notifications.tpl
Separate default config values between file-only and admin settings
[friendica.git] / view / templates / notifications.tpl
index 0b7e77a07bb7b47b64f4a25db38c699a164c3220..f3068226c48c3707eb3d563afe9d92f15b75c7d7 100644 (file)
@@ -2,8 +2,24 @@
 
 <h1>{{$notif_header}}</h1>
 
-{{include file="common_tabs.tpl"}}
+{{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
 
 <div class="notif-network-wrapper">
-       {{$notif_content}}
+       {{* The "show ignored" link *}}
+       {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
+
+       {{* The notifications *}}
+       {{if $notif_content}}
+       {{foreach $notif_content as $notification}}
+               {{$notification}}
+       {{/foreach}}
+       {{/if}}
+
+       {{* If no notifications messages available *}}
+       {{if $notif_nocontent}}
+               <div class="notif_nocontent">{{$notif_nocontent}}</div>
+       {{/if}}
+
+       {{* The pager *}}
+       {{$notif_paginate}}
 </div>