diff --git a/swh/web/ui/templates/revision-log.html b/swh/web/ui/templates/revision-log.html index e5e7b27b..9496fe81 100644 --- a/swh/web/ui/templates/revision-log.html +++ b/swh/web/ui/templates/revision-log.html @@ -1,88 +1,103 @@ {% extends "layout.html" %} {% block title %}Revision Log{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} +
+

Queried revision:

+ {% if sha1_git is not none %} +
Revision with git SHA1 {{ sha1_git }}
+ {% else %} +
Origin ID {{ origin_id }}
+
Branch name {{ branch_name }}
+ {% if timestamp is not none %} +
Time stamp {{ timestamp }}
+ {% endif %} +
+
+ {% endif %} +
+ {% if revisions is not none %} {% for revision in revisions %} -
+
{% if revision['url'] is not none %} {% endif %} {% if revision['history_url'] is not none %} {% endif %} {% if revision['directory_url'] is not none %} {% endif %} {% if revision['author'] is not none %}
Date

{{ revision['date'] }}

{% endif %} {% if revision['committer'] is not none %}
Committer Date

{{ revision['committer_date'] }}

{% endif %} {% if revision['message'] is not none %}
Message
{{ revision['message'] }}
{% endif %} {% for key in revision.keys() %} {% if key in ['type', 'synthetic'] and revision[key] is not none %}
{{ key }}

{{ revision[key] }}

{% endif %} {% endfor %} {% for key in ['parent_urls', 'children_urls'] %} {% if revision[key] is not none %}
{{ key }}
{% for link in revision[key] %} {% endfor %}
{% endif %} {% endfor %}

{% endfor %} {% endif %} {% endblock %}