]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/notifications.tpl
Replace latin-1 by latin1 in charset detection
[friendica.git] / view / templates / notifications.tpl
index 834a7a016cbdd12b3310c037b52670771e361be4..9438db682c40b1cd4337c7ceacdc72d89d3a9a36 100644 (file)
@@ -1,13 +1,25 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
+
 
 <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 nofilter}}
+       {{/foreach}}
+       {{/if}}
+
+       {{* If no notifications messages available *}}
+       {{if $notif_nocontent}}
+               <div class="notif_nocontent">{{$notif_nocontent}}</div>
+       {{/if}}
+
+       {{* The pager *}}
+       {{$notif_paginate nofilter}}
 </div>