aboutsummaryrefslogtreecommitdiff
path: root/client/html/posts_page.tpl
diff options
context:
space:
mode:
authorShyam Sunder2019-02-05 00:32:04 -0500
committerShyam Sunder2019-02-05 10:56:51 -0500
commitd7feb2792c717c1d3bda19bb257dd5b82f78fbd9 (patch)
treec7578cfc4b099723aaabcad34f1c194014d58b9f /client/html/posts_page.tpl
parent2fdd8cb3ab4f45796a4e9dd858caaaf215d19ef3 (diff)
client/posts: Add some UI icons
Diffstat (limited to 'client/html/posts_page.tpl')
-rw-r--r--client/html/posts_page.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/html/posts_page.tpl b/client/html/posts_page.tpl
index 6f0665c..f644919 100644
--- a/client/html/posts_page.tpl
+++ b/client/html/posts_page.tpl
@@ -8,7 +8,11 @@
href='<%= ctx.canViewPosts ? ctx.getPostUrl(post.id, ctx.parameters) : '' %>'>
<%= ctx.makeThumbnail(post.thumbnailUrl) %>
<span class='type' data-type='<%- post.type %>'>
- <%- post.type %>
+ <% if (post.type == 'video' || post.type == 'flash' || post.type == 'animation') { %>
+ <span class='icon'><i class='fa fa-film'></i></span>
+ <% } else { %>
+ <%- post.type %>
+ <% } %>
</span>
<% if (post.score || post.favoriteCount || post.commentCount) { %>
<span class='stats'>

© 2015 - 2026 Jakob L. Kreuze