Replace Javascript notification string formatting with Smarty templates

This commit is contained in:
Hypolite Petovan 2022-03-04 00:21:06 -05:00
commit 5a12bd87f3
12 changed files with 107 additions and 140 deletions

View file

@ -58,10 +58,6 @@
</div>
</nav>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<li class="{4}"><a href="{0}"><img data-src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
</ul>
<div style="position: fixed; top: 3px; left: 5px; z-index:9999">{{$langselector}}</div>
<script>