Node.js based forum software built for the modern web
topics: removed some less important buttons from mobile view, removed reply button on main posts in exchange for the smaller reply button
psychobunny64ecbfce8bb4
diff --git a/public/templates/topic.tpl b/public/templates/topic.tplindex afdbd7e3b3..695366763e 100644--- a/public/templates/topic.tpl+++ b/public/templates/topic.tpl@@ -29,14 +29,14 @@<hr /><div class="topic-buttons pull-left">- <a href="/users/{main_posts.username}" class="username-field btn">{main_posts.username}</a>- <a target="_blank" class="btn" href="../{topic_id}.rss"><i class="icon-rss-sign"></i></a>+ <a href="/users/{main_posts.username}" class="username-field btn hidden-phone">{main_posts.username}</a>+ <a target="_blank" class="btn hidden-phone" href="../{topic_id}.rss"><i class="icon-rss-sign"></i></a><button id="ids_{main_posts.pid}_{main_posts.uid}" class="btn edit {main_posts.display_moderator_tools}" type="button"><i class="icon-pencil"></i></button><button id="ids_{main_posts.pid}_{main_posts.uid}" class="btn delete {main_posts.display_moderator_tools}" type="button"><i class="icon-trash"></i></button><button id="quote_{main_posts.pid}_{main_posts.uid}" class="btn quote" type="button"><i class="icon-quote-left"></i></button><button id="favs_{main_posts.pid}_{main_posts.uid}" class="favourite btn" type="button"><span class="post_rep_{main_posts.pid}">Favourite {main_posts.post_rep} </span><i class="{main_posts.fav_star_class}"></i></button>- <button id="post_reply" class="btn btn-primary btn post_reply" type="button">Reply <i class="icon-reply"></i></button>+ <button id="post_reply" class="btn btn-primary btn post_reply hidden-phone" type="button">Reply <i class="icon-reply"></i></button></div><div style="clear:both; margin-bottom: 10px;"></div>@@ -46,6 +46,9 @@<img class="hidden-desktop" src="{main_posts.gravatar}?s=10&default=identicon" align="left" /> posted by <strong><a class="" href="/users/{main_posts.username}">{main_posts.username}</a></strong> {main_posts.relativeTime} ago<span class="{main_posts.edited-class} hidden-phone">| last edited by <strong><a href="/users/{main_posts.editor}">{main_posts.editor}</a></strong> {main_posts.relativeEditTime} ago</span><span class="{main_posts.edited-class}"><i class="icon-edit visible-phone" title="edited by {main_posts.editor} {main_posts.relativeEditTime} ago"></i></span>+ <div class="post-buttons visible-phone">+ <div class="post_reply"><i class="icon-reply"></i></div>+ </div></div></div></div>