diff --git a/swh/web/templates/includes/revision-info.html b/swh/web/templates/includes/revision-info.html index f71d2752..c237309b 100644 --- a/swh/web/templates/includes/revision-info.html +++ b/swh/web/templates/includes/revision-info.html @@ -1,35 +1,41 @@ {% comment %} Copyright (C) 2020-2021 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% if snapshot_context and snapshot_context.revision_info %}
Tip revision: {{ snapshot_context.revision_id }} - authored by {{ snapshot_context.revision_info.author.name }} + authored by + {% if snapshot_context.revision_info.author.name %} + {{ snapshot_context.revision_info.author.name }} + {% else %} + {{ snapshot_context.revision_info.author.fullname }} + {% endif %} + on {{ snapshot_context.revision_info.date }}
{{ snapshot_context.revision_info.message_header }}
{% endif %} \ No newline at end of file