Skip to content

Commit

Permalink
Update _notes.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed May 29, 2019
1 parent b27e2ff commit 49d58c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/grids/_notes.html.erb
Expand Up @@ -37,7 +37,6 @@
<% if type == "notes" || type == "questions" %>
<td class="title">
<% if node.has_tag("pin:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:<%= tagname %>'." class="fa fa-thumb-tack"></i>
<% elsif node.has_tag("pin:activity:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:activity:<%= tagname %>'." class="fa fa-thumb-tack"></i>
<% elsif node.has_tag("pin:question:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:question:<%= tagname %>'." class="fa fa-thumb-tack"></i>
<% end %>
<% if node.answered %>
Expand All @@ -54,7 +53,9 @@
<td class="likes"><%= node.cached_likes.to_s %></td>
<% else %>
<td class="title">
<% if node.has_tag("pin:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:<%= tagname %>'." class="fa fa-thumb-tack"></i> <% end %>
<% if node.has_tag("pin:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:<%= tagname %>'." class="fa fa-thumb-tack"></i>
<% elsif node.has_tag("pin:activity:#{tagname}") %><i rel="tooltip" title="This item was pinned with the tag 'pin:activity:<%= tagname %>'." class="fa fa-thumb-tack"></i>
<% end %>
<a href="<%= node.path %>"><%= node.latest.title %></a>
</td>
<td class="category"><%= node.has_power_tag('category') ? node.power_tag('category') : '-' %></td>
Expand Down

0 comments on commit 49d58c3

Please sign in to comment.