Skip to content

Commit

Permalink
Put external icon next to "view source" link
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 13, 2024
1 parent eb16beb commit 020214f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/applications/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<dd>
<%= @application.authority.full_name %>
<% if ab_test("view_source", "button", "link") == "link" %>
<div class="inline-block ml-2 size-4 text-fuchsia">
<%= render IconComponent.new(name: :external) %>
</div>
<%= pa_link_to "View source", external_application_path(@application), extra_classes: "ml-1" %>
<% end %>
</dd>
Expand Down

0 comments on commit 020214f

Please sign in to comment.