Skip to content

Commit 6bc6e9f

Browse files
committed
Update _metadata.html.erb
1 parent 3ff533b commit 6bc6e9f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

app/views/names/_metadata.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,14 @@
7272
</li>
7373
<% end %>
7474

75-
<% if @name.public? && user_signed_in? %>
75+
<% if @name.public? %>
7676
<li>
7777
<%= link_to(@name.wikispecies_url, target: '_blank') do %>
7878
Wikispecies: <%= @name.base_name %>
7979
<%= fa_icon('external-link-alt') %><% end %>
80-
(<%= link_to('see reference source', wiki_name_url(@name)) %>)
80+
<% if user_signed_in? %>
81+
(<%= link_to('see reference source', wiki_name_url(@name)) %>)
82+
<% end %>
8183
</li>
8284
<% end %>
8385
</ul>

0 commit comments

Comments
 (0)