diff options
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index a2ecfddb163..90ade34bde0 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -24,7 +24,7 @@ = deleted_message % { project_name: fork_source_name(@project) } .project-badges - - @project.badges.each do |badge| + - @project.badge.badge-pills.each do |badge| - badge_link_url = badge.rendered_link_url(@project) %a{ href: badge_link_url, target: '_blank', rel: 'noopener noreferrer' } %img{ src: badge.rendered_image_url(@project), alt: badge_link_url } |