Skip to content
Snippets Groups Projects
Commit 4d0eee5c authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 54a4ba59
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,16 @@
target: :_blank,
class: 'text-white' %>
</p>
<p class="small">
<p class="small mb-2">
<i class="bi bi-github me-2"></i>
<%= link_to social_website_to_s(website.repository_url),
website.repository_url,
target: :_blank,
class: 'text-white' %>
</p>
<% website.showcase_tags.each do |tag| %>
<%= link_to tag, showcase_tag_path(tag.slug), class: 'btn btn-sm btn-outline-light rounded-pill' %>
<% end %>
</div>
<% if website.university.logo.attached? %>
<div class="col-3 col-lg-2">
......
......@@ -6,7 +6,7 @@
<p class="small text-uppercase">Thèmes</p>
<% @tags.each do |tag| %>
<% next if tag.websites.none? %>
<%= link_to "#{tag} <span class=\"badge bg-dark text-light rounded-pill\">#{tag.websites.count}</span>".html_safe,
<%= link_to "#{tag} <span class=\"badge bg-dark text-light rounded-pill\">#{tag.websites.in_production.count}</span>".html_safe,
showcase_tag_path(tag.slug),
class: 'btn btn-outline-light rounded-pill mb-2 me-2 px-4 py-3' %>
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment