mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-08 07:06:44 +01:00
13 lines
362 B
Text
13 lines
362 B
Text
|
<div class="block__content profile-about">
|
||
|
<%= cond do %>
|
||
|
<% @user.description not in [nil, ""] -> %>
|
||
|
<%= @about_me %>
|
||
|
<% current?(@user, @conn.assigns.current_user) -> %>
|
||
|
<em>
|
||
|
Want to
|
||
|
<%= link("add some info about yourself?", to: ~p"/profiles/#{@user}/description/edit") %>
|
||
|
</em>
|
||
|
<% true -> %>
|
||
|
<% end %>
|
||
|
</div>
|