# HG changeset patch # User Goffi # Date 1592582233 -7200 # Node ID 1928ba66c19476e40f1059a5e666877d89170729 # Parent 10278ba367a2bc465b57f9c483271997aba73e3f bulma: replaced custom styles by new spacing helpers diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/blog/articles.html --- a/sat_templates/templates/bulma/blog/articles.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/blog/articles.html Fri Jun 19 17:57:13 2020 +0200 @@ -21,7 +21,7 @@ {% block body %} {% if items %} -
+
{{ blog.show_items(items, expanded=single) }} @@ -29,7 +29,7 @@
{% else %} -
+
{% trans %}No articles found in this blog!{% endtrans %}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/blog/discover.html --- a/sat_templates/templates/bulma/blog/discover.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/blog/discover.html Fri Jun 19 17:57:13 2020 +0200 @@ -24,10 +24,10 @@
-
+
{{ avatar.avatar(entity, "is-64x64") }}
-
+
{{ identities[entity].nicknames[0] if identities[entity].nicknames else entity }}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/blog/item.html --- a/sat_templates/templates/bulma/blog/item.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/blog/item.html Fri Jun 19 17:57:13 2020 +0200 @@ -15,7 +15,7 @@ {# we may display items in different language in a specific way #} {% set other_lang = " other_lang" if expanded else " other_lang state_init" %} {% endif %} -
+
{% if identities is defined %} {% if avatar is defined %}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/chat/chat.html --- a/sat_templates/templates/bulma/chat/chat.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/chat/chat.html Fri Jun 19 17:57:13 2020 +0200 @@ -2,7 +2,7 @@ {% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% block title %}{{ target_jid }} - {{ super() }}{% endblock %} {% block body %} -
+
{% if subject is defined %}
@@ -13,7 +13,7 @@ {% include 'chat/message.html' %} {% endfor %}
- +
{% endblock body %} diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/chat/select.html --- a/sat_templates/templates/bulma/chat/select.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/chat/select.html Fri Jun 19 17:57:13 2020 +0200 @@ -19,10 +19,10 @@
-
+
{{ avatar.avatar(room.jid, "is-64x64") }}
-
+
{{room.name}}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/event/admin.html --- a/sat_templates/templates/bulma/event/admin.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/event/admin.html Fri Jun 19 17:57:13 2020 +0200 @@ -101,7 +101,7 @@ {{ field.checkbox("comments", _("allow comments"), checked=true) }} - {{ field.submit(_("send"), class="has-margin-top-1") }} + {{ field.submit(_("send"), class="mt-4") }} {% endcall %}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/event/attendance.html --- a/sat_templates/templates/bulma/event/attendance.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/event/attendance.html Fri Jun 19 17:57:13 2020 +0200 @@ -17,7 +17,7 @@
{{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }}
-
+
{{ field.submit() }}
{% endcall %} diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/event/counter.html --- a/sat_templates/templates/bulma/event/counter.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/event/counter.html Fri Jun 19 17:57:13 2020 +0200 @@ -1,6 +1,6 @@ {% if days_left is defined %} {% if days_left > 0 %} -
+
{% trans %} {{days_left}} day left {% pluralize %} @@ -8,7 +8,7 @@ {% endtrans %}
{% else %} -
{% trans %}the event is finished{% endtrans %}
+
{% trans %}the event is finished{% endtrans %}
{% endif %} {% endif %} diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/forum/overview.html --- a/sat_templates/templates/bulma/forum/overview.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/forum/overview.html Fri Jun 19 17:57:13 2020 +0200 @@ -4,7 +4,7 @@ {% if level == 0 %}
{% for forum in forums_data %} -
+

{{ forum.title }}

{% if 'short-desc' in forum %}

{{ forum['short-desc'] }} @@ -18,7 +18,7 @@ {% else %}

{% for forum in forums_data %} -
+
{% if 'http_url' in forum %} {% else %} diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/forum/view_topics.html --- a/sat_templates/templates/bulma/forum/view_topics.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/forum/view_topics.html Fri Jun 19 17:57:13 2020 +0200 @@ -20,7 +20,7 @@ {% endif %}
-
+
{% for topic in topics %}
diff -r 10278ba367a2 -r 1928ba66c194 sat_templates/templates/bulma/merge-request/item.html --- a/sat_templates/templates/bulma/merge-request/item.html Fri Jun 19 17:57:13 2020 +0200 +++ b/sat_templates/templates/bulma/merge-request/item.html Fri Jun 19 17:57:13 2020 +0200 @@ -42,7 +42,7 @@
-
+
{% if identities is defined %} {% if avatar is defined %}
@@ -109,7 +109,7 @@

{{patch.commit_msg}}

-