friendica-github/view/theme/frio/templates/notifications/notifications.tpl
Hypolite Petovan e293de04f5 Add '$VERSION' template variable to make Friendica version available in templates
- constant() Smarty function is deprecated
- Remove unused site-wide template variable '$APP'
- Address https://github.com/friendica/friendica/issues/14027#issuecomment-2016469408
2024-03-24 09:20:58 -04:00

30 lines
942 B
Smarty

<script type="text/javascript" src="../../frameworks/jquery-color/jquery.color.js?v={{$VERSION}}"></script>
<script type="text/javascript" src="../../js/mod_notifications.js?v={{$VERSION}}"></script>
<div class="generic-page-wrapper">
{{include file="section_title.tpl" title=$header}}
{{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
<div class="notif-network-wrapper">
{{* The "show ignored" link *}}
{{if $showLink}}<a href="{{$showLink.href}}" id="notifications-show-hide-link">{{$showLink.text}}</a>{{/if}}
{{* The notifications *}}
{{if $notifications}}
<ul class="notif-network-list media-list">
{{foreach $notifications as $notification}}
<li>{{$notification nofilter}}</li>
{{/foreach}}
</ul>
{{/if}}
{{* If no notifications messages available *}}
{{if $noContent}}
<div class="notification_nocontent">{{$noContent}}</div>
{{/if}}
</div>
{{* The pager *}}
{{$paginate nofilter}}
</div>