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

5 lines
226 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<>
2019-11-12 03:53:19 +01:00
= link(@object.user.name, to: Routes.profile_path(@conn, :show, @object.user))
= if assigns[:awards] do
= render PhilomenaWeb.ProfileView, "_awards.html", awards: @object.user.awards