Skip to content

Commit

Permalink
link to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Dec 7, 2023
1 parent 35d1dea commit 900d6bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/projects/dependencies.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ul class="list-group list-group-flush">
<% @dependencies.each do |dependency, count| %>
<li class="list-group-item">
<%= dependency[0] %> : <%= dependency[1] %>
<%= dependency[0] %> : <%= link_to dependency[1], "https://packages.ecosyste.ms/packages/lookup?ecosystem=#{dependency[0]}&name=#{dependency[1]}", target: :_blank %>
<small class='ps-3 text-muted'>
<i><%= pluralize count, 'dependent project' %></i>
</small>
Expand All @@ -41,7 +41,7 @@
<% filtered_dependencies.each do |dependency, count| %>
<% next if count < 2 %>
<li class="list-group-item">
<%= dependency[0] %> : <%= dependency[1] %>
<%= dependency[0] %> : <%= link_to dependency[1], "https://packages.ecosyste.ms/packages/lookup?ecosystem=#{dependency[0]}&name=#{dependency[1]}", target: :_blank %>

<small class='ps-3 text-muted'>
<i><%= pluralize count, 'dependent project' %></i>
Expand Down

0 comments on commit 900d6bf

Please sign in to comment.