mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
13 lines
391 B
Text
13 lines
391 B
Text
.block__content.profile-about
|
|
= cond do
|
|
- @user.description not in [nil, ""] ->
|
|
= @about_me
|
|
- true ->
|
|
| No description provided.
|
|
|
|
= if can?(@conn, :edit_description, @user) do
|
|
= if @user.description not in [nil, ""] do
|
|
hr.separator.separator--secondary
|
|
a.button href=Routes.profile_description_path(@conn, :edit, @user)
|
|
i.fa.fa-edit>
|
|
| Edit
|