make story description icon a link to the story page, revert c1d1a44472

i don't like showing "discuss" to logged out users, and now that we
have a story description icon that can link to the story text, back
out the change that made logged out users see discuss when they
can't discuss it.
This commit is contained in:
joshua stein 2015-12-02 13:43:26 -06:00
parent 45b63935af
commit c05f526a57
2 changed files with 4 additions and 3 deletions

View file

@ -515,6 +515,7 @@ li .link a {
li.story .description_present {
color: gray;
padding-left: 0.25em;
text-decoration: none;
vertical-align: middle;
}

View file

@ -27,8 +27,8 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
<% end %>
</span>
<% if story.markeddown_description.present? %>
<span class="description_present"
title="Additional text available">&#x2636;</span>
<a class="description_present" title="Additional text available"
href="<%= story.comments_path %>">&#x2636;</a>
<% end %>
<% if story.can_be_seen_by_user?(@user) %>
<span class="tags">
@ -163,7 +163,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
(hidden by <%= pluralize(story.hider_count, "user") %>)
<% end %>
<% end %>
<% if !story.is_gone? %>
<% if !story.is_gone? && (@user || story.comments_count > 0) %>
<span class="comments_label">
|
<a href="<%= story.comments_path %>"><%= story.comments_count == 0 ?