Skip to content

Commit 23106a5

Browse files
committed
Update show.html.erb
1 parent ff5599a commit 23106a5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

app/views/publications/show.html.erb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
<dt>Publication date</dt>
2424
<dd><%= @publication.journal_date %></dd>
2525
<dt>DOI</dt>
26-
<dd><%= link_to(@publication.doi, @publication.url, target: '_blank') %></dd>
26+
<dd>
27+
<%= link_to(@publication.url, target: '_blank') do %>
28+
<%= @publication.doi %>
29+
<%= fa_icon('external-link-alt') %>
30+
<% end %>
31+
</dd>
2732
</dl>
2833
<%= render(partial: 'curator') %>
2934
<br/>

0 commit comments

Comments
 (0)