Skip to content

Commit 200561f

Browse files
committed
Have the unread count be clickable as well
1 parent 2d24c2a commit 200561f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎app/views/partials/_feed.erb‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
<div class="span7 feed-title-container">
44
<p class="feed-title <%= feed.has_unread_stories ? "feed-unread" : "" %>">
55
<i class="icon-circle status <%= feed.status_bubble %>" data-toggle="tooltip" title="<%= t("partials.feed.status_bubble.#{feed.status_bubble}") if feed.status_bubble %>" data-placement="left"></i>
6-
<% if feed.has_unread_stories %>
7-
(<%= feed.unread_stories.count %>)
8-
<% end %>
9-
<a href="/feed/<%= feed.id %>"><%= feed.name %></a>
6+
<a href="/feed/<%= feed.id %>">
7+
<% if feed.has_unread_stories %>
8+
(<%= feed.unread_stories.count %>)
9+
<% end %>
10+
<%= feed.name %>
11+
</a>
1012
</p>
1113
</div>
1214
<div class="span4 feed-last-updated">

0 commit comments

Comments
 (0)