diff --git a/app/views/badges/show.haml b/app/views/badges/show.haml index 35a33d5..1531c25 100644 --- a/app/views/badges/show.haml +++ b/app/views/badges/show.haml @@ -25,6 +25,13 @@ %pre <object data="#{absolute_url(:badges, :render, id: @badge.id, format: :svg)}" type="image/svg+xml"></object> +or + +%pre + <a href="#{absolute_url(:badges, :show, id: @badge.id)}"> + <img src="#{absolute_url(:badges, :render, id: @badge.id, format: :svg)}" alt="Ember Community Badge"></img> + </a> + %h3 Proposed changes - if @badge.badge_changes.proposed.length > 0