philomena/lib/philomena_web/templates/user_attribution/_user.html.slime

9 lines
291 B
Text
Raw Normal View History

2019-10-04 03:03:33 +02:00
= if !!@object.user do
2019-11-12 02:27:09 +01:00
strong<>
2024-05-07 19:33:56 +02:00
- icon = user_icon(@object.user)
= if icon do
2024-07-02 20:09:30 +02:00
i> class="fa #{icon}"
2024-06-06 22:28:35 +02:00
= link(@object.user.name, to: ~p"/profiles/#{@object.user}")
2019-11-12 03:53:19 +01:00
= if assigns[:awards] do
2024-05-07 19:33:56 +02:00
= render PhilomenaWeb.ProfileView, "_awards.html", awards: @object.user.awards