diff --git a/templates/profile.modern.html b/templates/profile.modern.html index b406185..2fa5873 100644 --- a/templates/profile.modern.html +++ b/templates/profile.modern.html @@ -1,13 +1,13 @@ - -{% extends "base." + locale + ".html" %} + +{% extends "base.en-us.html" %} -{% block title %}{{ translations["profile"] }} - Smoke Signal{% endblock %} +{% block title %}{{ translations["page-title"] }}{% endblock %} {% block head %} - + @@ -22,144 +22,124 @@ {% endblock %} {% block content %} -
- -
-

+{%- from "pagination.html" import view_pagination -%} + + +
+ Background +
+
+ + {% if is_self %} +

{{ translations["profile-greeting"] }} -

-

+

+

{{ translations["profile-subtitle"] }}

-
- - -
-

Profile Information

+ {% endif %} -
-
- -
@{{ profile.handle }}
-
- -
- -
{{ profile.did }}
-
- - {% if profile.display_name %} -
- -
{{ profile.display_name }}
-
+

@{{ profile.handle }}

+ + {% if profile.display_name %} +

{{ profile.display_name }}

+ {% endif %} + + -
+
+ - -
-

Statistics

- -
-
-
{{ profile.events_created or 0 }}
-
- {{ translations["events-created"] }} + +
+
+ + {% if is_self %} +
+

{{ translations["profile-information"] }}

+
+
+
+ +
@{{ profile.handle }}
+
+
+
+
+ +
+ {{ profile.did }} +
+
-
-
{{ profile.rsvps_count or 0 }}
-
- {{ translations["rsvps-made"] }} -
+ {% if profile.display_name %} +
+ +
{{ profile.display_name }}
- -
- - -
-

{{ translations["actions"] }}

- -
- {% if can_edit %} - - Edit Profile - {% endif %} - - Settings - - - {% if profile.did != current_user.did %} - - {% endif %} -
-
- - - {% if is_first_visit %} -
-
-
- - - -
-
-

- {{ translations["first-visit-title"] }} -

-
-

{{ translations["first-visit-message"] }}

+ {% if profile.created_at %} +
+ +
+
{{ profile.created_at }}
+ {% endif %}
+ {% endif %} + + +
+ +
+ + + {% include 'event_list.fr-ca.incl.html' %} + + + {% if pagination %} + {{ view_pagination((canonical_url ~ "?"), pagination) }} + {% endif %}
- {% endif %} -
+
- + +{% if is_self and is_first_visit %} +
+

{{ translations["first-visit-title"] }}

+

{{ translations["first-visit-message"] }}

+
+{% endif %} {% endblock %}