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