show the tag description as the tag link title
This commit is contained in:
parent
f585d07aa8
commit
4cae9d38ae
|
@ -29,7 +29,8 @@ class="story <%= story.vote == 1 ? "upvoted" : (story.vote == -1 ?
|
|||
<% story.taggings.sort_by{|t| t.tag.tag }.sort_by{|t|
|
||||
t.tag.tag == "pdf" ? -1 : 0 }.each do |tagging| %>
|
||||
<a href="<%= tag_url(tagging.tag.tag) %>" class="tag tag_<%=
|
||||
tagging.tag.tag %>"><%= tagging.tag.tag %></a>
|
||||
tagging.tag.tag %>" title="<%= tagging.tag.description %>"><%=
|
||||
tagging.tag.tag %></a>
|
||||
<% end %>
|
||||
</span>
|
||||
<span class="domain"><%= story.domain %></span>
|
||||
|
|
Loading…
Reference in a new issue