szurubooru/client/html/top_nav.tpl
rr- 50404d5f5e client/general: change templates extension
...from .Handlebars' (which the project no longer uses) .hbs, to a more
generic .tpl. Additionally, replace hyphens with underscores for
consistency.
2016-05-18 00:15:28 +02:00

14 lines
590 B
Smarty

<nav id='top-nav' class='text-nav'>
<ul><!--
--><% _.each(items, (item, key) => { %><!--
--><% if (item.available) { %><!--
--><li data-name='<%= key %>'><!--
--><a href='<%= item.url %>' accesskey='<%= item.accessKey %>'><!--
--><% if (item.imageUrl) { print(makeThumbnail(item.imageUrl)); } %><!--
--><span class='text'><%- item.name %></span><!--
--></a><!--
--></li><!--
--><% } %><!--
--><% }) %><!--
--></ul>
</nav>