diff --git a/moku/templates/moku/profile/show.jinja b/moku/templates/moku/profile/show.jinja index d8416bc..5ee2ae0 100644 --- a/moku/templates/moku/profile/show.jinja +++ b/moku/templates/moku/profile/show.jinja @@ -10,18 +10,24 @@ {% endif %}

@{{ profile.username }}

-
-
{% trans %}pronouns{% endtrans %}
-
{{ profile.pronouns or "not set" }}
-
-
-
{% trans %}location{% endtrans %}
-
{{ profile.location or "not set" }}
-
-
-
{% trans %}about me{% endtrans %}
-
{{ profile.bio or "not set" }}
-
+ {% if profile.pronouns %} +
+
{% trans %}pronouns{% endtrans %}
+
{{ profile.pronouns }}
+
+ {% endif %} + {% if profile.location %} +
+
{% trans %}location{% endtrans %}
+
{{ profile.location }}
+
+ {% endif %} + {% if profile.bio %} +
+
{% trans %}about me{% endtrans %}
+
{{ profile.bio }}
+
+ {% endif %} {% if profile.id == request.user.id %}

{% trans %}edit{% endtrans %}