Replace Javascript notification string formatting with Smarty templates
This commit is contained in:
parent
b7cee324b0
commit
5a12bd87f3
12 changed files with 107 additions and 140 deletions
3
view/templates/notifications/nav/notify.tpl
Normal file
3
view/templates/notifications/nav/notify.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
<li class="notification-{{if !$notify.seen}}un{{/if}}seen">
|
||||
<a href="{{$notify.href}}" title="{{$notify.localdate}}"><img data-src="{{$notify.contact.photo}}" height="24" width="24" alt="" />{{$notify.richtext nofilter}} <span class="notif-when">{{$notify.ago}}</span></a>
|
||||
</li>
|
Loading…
Add table
Add a link
Reference in a new issue