some styling for system notifications
This commit is contained in:
parent
005db13c45
commit
f59ed38a38
@ -40,7 +40,7 @@ class Notifications extends \Zotlabs\Web\Controller {
|
||||
|
||||
$o .= replace_macros(get_markup_template('notifications.tpl'),array(
|
||||
'$notif_header' => t('System Notifications'),
|
||||
'$notif_link_mark_seen' => t('Mark all system notifications seen'),
|
||||
'$notif_link_mark_seen' => t('Mark all seen'),
|
||||
'$notif_content' => $notif_content,
|
||||
'$notifications_available' => $notifications_available,
|
||||
));
|
||||
|
@ -1,11 +1,11 @@
|
||||
<div class="generic-content-wrapper-styled">
|
||||
|
||||
<h1>{{$notif_header}}</h1>
|
||||
|
||||
{{if $notifications_available}}
|
||||
<a href="#" onclick="markRead('notify'); setTimeout(function() { window.location.href=window.location.href; },1500); return false;">{{$notif_link_mark_seen}}</a>
|
||||
{{/if}}
|
||||
<div class="notif-network-wrapper">
|
||||
{{$notif_content}}
|
||||
</div>
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper clearfix">
|
||||
{{if $notifications_available}}
|
||||
<a href="#" class="btn btn-outline-secondary btn-sm float-right" onclick="markRead('notify'); setTimeout(function() { window.location.href=window.location.href; },1500); return false;">{{$notif_link_mark_seen}}</a>
|
||||
{{/if}}
|
||||
<h2>{{$notif_header}}</h2>
|
||||
</div>
|
||||
<div class="section-content-wrapper">
|
||||
{{$notif_content}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<div class="notif-item">
|
||||
<a href="{{$item_link}}"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
<div class="mb-2 notif-item">
|
||||
<a href="{{$item_link}}"><img src="{{$item_image}}" class="menu-img-1">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user