fixes #203
This commit is contained in:
@@ -12,23 +12,23 @@
|
||||
</li>
|
||||
<li>Source: <%= post_source_tag(post) %></li>
|
||||
<li>Rating: <%= post.pretty_rating %></li>
|
||||
<li>Score: <span id="score-for-post-<%= post.id %>"><%= post.score %></span> (vote <%= link_to "up", post_votes_path(:post_id => post.id, :score => "up"), :remote => true, :method => :post %>/<%= link_to "down", post_votes_path(:post_id => post.id, :score => "down"), :remote => true, :method => :post %>)</li>
|
||||
<li>Score: <span id="score-for-post-<%= post.id %>"><%= post.score %></span> <% if CurrentUser.is_privileged? %>(vote <%= link_to "up", post_votes_path(:post_id => post.id, :score => "up"), :remote => true, :method => :post %>/<%= link_to "down", post_votes_path(:post_id => post.id, :score => "down"), :remote => true, :method => :post %>)<% end %></li>
|
||||
<li>
|
||||
Status:
|
||||
<% if post.is_pending? %>
|
||||
<abbr title="Pending">P</abbr>
|
||||
Pending
|
||||
<% end %>
|
||||
|
||||
<% if post.is_deleted? %>
|
||||
<abbr title="Deleted">D</abbr>
|
||||
Deleted
|
||||
<% end %>
|
||||
|
||||
<% if post.is_flagged? %>
|
||||
<abbr title="Flagged">F</abbr>
|
||||
Flagged
|
||||
<% end %>
|
||||
|
||||
<% if !post.is_pending? && !post.is_deleted? %>
|
||||
<abbr title="Active">A</abbr>
|
||||
Active
|
||||
<% end %>
|
||||
</li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user