philomena/lib/philomena_web/templates/profile/_about_me.html.slime

16 lines
455 B
Text
Raw Normal View History

2019-12-05 19:32:53 +01:00
.block__content.profile-about
2024-06-13 00:01:15 +02:00
p
= cond do
- @user.description not in [nil, ""] ->
= @about_me
2019-12-05 19:32:53 +01:00
2024-06-13 00:01:15 +02:00
- current?(@user, @conn.assigns.current_user) ->
span: i.fa.icon--padded--right.fa-info-circle
em
' Want to
=> link "add some info about yourself?", to: ~p"/profiles/#{@user}/description/edit"
2019-12-05 19:32:53 +01:00
2024-06-13 00:01:15 +02:00
- true ->
span: i.fa.icon--padded--right.fa-info-circle
2024-06-13 00:22:58 +02:00
| No description provided