diff --git a/swh/web/ui/templates/origin.html b/swh/web/ui/templates/origin.html index b0ff2aee..10203314 100644 --- a/swh/web/ui/templates/origin.html +++ b/swh/web/ui/templates/origin.html @@ -1,22 +1,22 @@ {% extends "layout.html" %} {% block title %}Origin{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if origin is not none %}
Details on origin {{ origin_id }}: {% for key in ['type', 'lister', 'projet', 'url'] %} {% if origin[key] is not none %}
{{ key }}
-
{{ origin[key] }}
+
{{ origin[key] }}
{% endif %} {% endfor %}
{% endif %} {% endblock %} diff --git a/swh/web/ui/templates/person.html b/swh/web/ui/templates/person.html index 02f7ac40..5c125cfd 100644 --- a/swh/web/ui/templates/person.html +++ b/swh/web/ui/templates/person.html @@ -1,22 +1,22 @@ {% extends "layout.html" %} {% block title %}Person{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if person is not none %}
Details on person {{ person_id }}: {% for key in ['name', 'email'] %} {% if person[key] is not none %}
{{ key }}
-
{{ person[key] }}
+
{{ person[key] }}
{% endif %} {% endfor %}
{% endif %} {% endblock %} diff --git a/swh/web/ui/templates/release.html b/swh/web/ui/templates/release.html index cf6efae2..9a1dd203 100644 --- a/swh/web/ui/templates/release.html +++ b/swh/web/ui/templates/release.html @@ -1,28 +1,28 @@ {% extends "layout.html" %} {% block title %}Release{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if release is not none %}
{% for key in keys %} {% if key == 'target' %}
{{ key }}
{% elif release[key] is not none %}
{{ key }}
-
{{ release[key] }}
+
{{ release[key] }}
{% endif %} {% endfor %}
{% endif %} {% endblock %} diff --git a/swh/web/ui/templates/revision.html b/swh/web/ui/templates/revision.html index 4f789c4b..9fd902fe 100644 --- a/swh/web/ui/templates/revision.html +++ b/swh/web/ui/templates/revision.html @@ -1,40 +1,44 @@ {% extends "layout.html" %} {% block title %}Revision{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if revision is not none %}
{% for key in keys %} {% if revision[key] is not none %}
{{ key }}
-
{{ revision[key] }}
+ {% if key == 'message' %} +
{{ revision[key] }}
+ {% else %} +

{{ revision[key] }}

+ {% endif %}
{% endif %} {% endfor %} {% if revision['directory'] is not none %}
directory
- +
{% endif %} {% if revision['parents'] is not none %}
parents
{% for parent in revision['parents'] %}
{% endfor %}
{% endif %}
{% endif %} {% endblock %}