Skip to content

Commit

Permalink
Redundant node_id removed (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthBansal authored and jywarren committed Feb 2, 2018
1 parent 7f111d4 commit 9b5354b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/notes/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
| <i class="fa fa-comment"></i>
<a href="#comments"> <%= @node.comments.length %> <%= t('notes.show.comments') %> </a>
<% end %>
| <a href="/n/<%= @node.id %>"><i class="fa fa-link"></i></a> <span class="hidden-xs hidden-sm hidden-md"><a href="/n/<%= @node.id %>">/n/<%= @node.id %></a></span>
| <a href="/n/<%= @node.id %>"><i class="fa fa-link"></i></a> <span class="hidden-xs hidden-sm hidden-md"><a href="/n/<%= @node.id %>">#<%= @node.id %></a></span>
</span>
<span class="hidden-lg">
<%= @node.created_at.to_s(:short) %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/wiki/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<%= raw t('wiki.show.last_edited', url1: "/profile/" + @revision.author.name, author: @revision.author.name, time: time_ago_in_words(@revision.created_at)) %>
| <a href="/n/<%= @node.id %>"><i class="fa fa-link"></i></a>
<span class="hidden-xs hidden-sm hidden-md">
<a href="/n/<%= @node.id %>">/n/<%= @node.id %></a>
<a href="/n/<%= @node.id %>">#<%= @node.id %></a>
</span>
</span>
</div>
Expand Down

0 comments on commit 9b5354b

Please sign in to comment.