mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Merge pull request #2702 from rabuzarus/0308-Notifications-restructure
notifications restructure
This commit is contained in:
commit
61e3a8ca3a
12 changed files with 992 additions and 553 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div class="notif-network-wrapper">
|
||||
{{* The "show ignored" link *}}
|
||||
{{if $notif_ignored_lnk}}{{$notif_ignored_lnk}}{{/if}}
|
||||
{{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}}
|
||||
|
@ -19,4 +19,7 @@
|
|||
{{if $notif_nocontent}}
|
||||
<div class="notif_nocontent">{{$notif_nocontent}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{* The pager *}}
|
||||
{{$notif_paginate}}
|
||||
</div>
|
||||
|
|
4
view/templates/notifications_attend_item.tpl
Normal file
4
view/templates/notifications_attend_item.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="notif-item">
|
||||
<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
|
||||
<a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
|
||||
</div>
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div class="notif-network-wrapper">
|
||||
{{* The "show ignored" link *}}
|
||||
{{if $notif_ignored_lnk}}{{$notif_ignored_lnk}}{{/if}}
|
||||
{{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}}
|
||||
|
@ -22,4 +22,7 @@
|
|||
<div class="notif_nocontent">{{$notif_nocontent}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{* The pager *}}
|
||||
{{$notif_paginate}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue