Template clean-up
This commit is contained in:
parent
c0895274b2
commit
212521e905
|
@ -10,10 +10,14 @@
|
|||
<%== markdown $thread->{'body'} =%>
|
||||
</div>
|
||||
<nav>
|
||||
<%= link_to Remark => post_remark => {thread_id => $thread->{'id'}} %>
|
||||
<%= link_to Bump => bump_thread => {thread_id => $thread->{'id'}} %>
|
||||
<%= link_to post_remark => {thread_id => $thread->{'id'}}, begin %>
|
||||
Remark (<%= $thread->{'remark_tally'} %> remarks)
|
||||
<% end %>
|
||||
<%= link_to bump_thread => {thread_id => $thread->{'id'}}, begin %>
|
||||
Bump (<%= $thread->{'bump_tally'} %> bumps)
|
||||
<% end %>
|
||||
<span class="flag">
|
||||
<%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}} %>
|
||||
<%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}} %>
|
||||
</span>
|
||||
</nav>
|
||||
<% if (is_mod) { =%>
|
||||
|
|
|
@ -22,10 +22,11 @@
|
|||
<%= link_to Remark => post_remark => {thread_id => $thread->{'id'}} %>
|
||||
<%= link_to url_for(single_thread => {thread_id => $thread->{'id'}})
|
||||
->fragment('remarks'), begin %>
|
||||
(<%= $thread->{'remark_tally'} %> remarks)\
|
||||
<% end =%>
|
||||
<%= link_to Bump => bump_thread => {thread_id => $thread->{'id'}} %>
|
||||
(<%= $thread->{'bump_tally'} %> bumps)
|
||||
(<%= $thread->{'remark_tally'} %> remarks)
|
||||
<% end %>
|
||||
<%= link_to bump_thread => {thread_id => $thread->{'id'}}, begin %>
|
||||
Bump (<%= $thread->{'bump_tally'} %> bumps)
|
||||
<% end %>
|
||||
<span class="flag">
|
||||
<%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}} %>
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue