Remove some unneeded spans
This commit is contained in:
parent
20f1df5282
commit
bda544feda
|
@ -59,6 +59,7 @@ Run the tests locally (against development environment):
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
1. CSS
|
1. CSS
|
||||||
|
1. Check status for items not found, should be 404 but getting 5xx
|
||||||
1. "All new posts flagged" mode (require approval for new posts)
|
1. "All new posts flagged" mode (require approval for new posts)
|
||||||
1. Tests for mod-only user?
|
1. Tests for mod-only user?
|
||||||
1. Check input validation
|
1. Check input validation
|
||||||
|
|
|
@ -14,11 +14,10 @@
|
||||||
<%= link_to About => 'about_page' %>
|
<%= link_to About => 'about_page' %>
|
||||||
<%= link_to Rules => 'rules_page' %>
|
<%= link_to Rules => 'rules_page' %>
|
||||||
<%= link_to RSS => threads_feed => {format => 'rss'} %>
|
<%= link_to RSS => threads_feed => {format => 'rss'} %>
|
||||||
<span class="login">
|
|
||||||
<% if (is_mod) { =%>
|
<% if (is_mod) { =%>
|
||||||
<%= link_to Logout => 'mod_logout' %>
|
<%= link_to Logout => mod_logout => (class => 'login') %>
|
||||||
<% } else { =%>
|
<% } else { =%>
|
||||||
<%= link_to Login => 'mod_login' %>
|
<%= link_to Login => mod_login => (class => 'login') %>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
</span>
|
</span>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -8,10 +8,8 @@
|
||||||
<%= link_to single_thread => {thread_id => $thread->{'id'}}, begin %>
|
<%= link_to single_thread => {thread_id => $thread->{'id'}}, begin %>
|
||||||
<%= $thread->{'title'} %>
|
<%= $thread->{'title'} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class="id">
|
|
||||||
<%= link_to "#$thread->{'id'}",
|
<%= link_to "#$thread->{'id'}",
|
||||||
single_thread => {thread_id => $thread->{'id'}} %>
|
single_thread => {thread_id => $thread->{'id'}}, (class => 'id') %>
|
||||||
</span>
|
|
||||||
</h3>
|
</h3>
|
||||||
<h4 class="date"><%= $thread->{'date'} %></h4>
|
<h4 class="date"><%= $thread->{'date'} %></h4>
|
||||||
<h5 class="author"><%= $thread->{'author'} %></h5>
|
<h5 class="author"><%= $thread->{'author'} %></h5>
|
||||||
|
@ -22,14 +20,13 @@
|
||||||
<%= 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_thread => {thread_id => $thread->{'id'}}, begin %>
|
<%= link_to bump_thread => {thread_id => $thread->{'id'}}, begin %>
|
||||||
Bump (<%= $thread->{'bump_tally'} %> bumps)
|
Bump (<%= $thread->{'bump_tally'} %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class="flag">
|
<%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}},
|
||||||
<%= link_to Flag => flag_thread => {thread_id => $thread->{'id'}} %>
|
(class => 'flag') %>
|
||||||
</span>
|
|
||||||
</nav>
|
</nav>
|
||||||
</article>
|
</article>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user