2 <div class="generic-page-wrapper">
3 {{include file="section_title.tpl" title=$notif_header}}
5 {{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
7 <div class="notif-network-wrapper">
8 {{* The "show ignored" link *}}
9 {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
11 {{* The notifications *}}
13 <ul class="notif-network-list media-list">
14 {{foreach $notif_content as $notification}}
15 <li>{{$notification}}</li>
20 {{* If no notifications messages available *}}
21 {{if $notif_nocontent}}
22 <div class="notif_nocontent">{{$notif_nocontent}}</div>
30 {{* Since only the DIV's inside the notification-list are marked with the class "unseen",
31 we need some js to transfer this class to the parent li list-elements *}}
32 <script type="text/javascript">
33 $(document).ready(function(){
34 if( $(".notif-item").hasClass("unseen")) {
35 $(".notif-item.unseen").parent("li").addClass("unseen");