Page MenuHomeSoftware Heritage

D6535.diff
No OneTemporary

D6535.diff

diff --git a/swh/web/templates/includes/revision-info.html b/swh/web/templates/includes/revision-info.html
--- a/swh/web/templates/includes/revision-info.html
+++ b/swh/web/templates/includes/revision-info.html
@@ -14,7 +14,13 @@
<a href="{{ snapshot_context.revision_info.revision_url }}">
<b>{{ snapshot_context.revision_id }}</b>
</a>
- authored by <b>{{ snapshot_context.revision_info.author.name }}</b>
+ authored by <b>
+ {% if snapshot_context.revision_info.author.name %}
+ {{ snapshot_context.revision_info.author.name }}
+ {% else %}
+ {{ snapshot_context.revision_info.author.fullname }}
+ {% endif %}
+ </b>
on <b>{{ snapshot_context.revision_info.date }}</b>
<br/>
<b>{{ snapshot_context.revision_info.message_header }}</b>

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 1:20 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222032

Event Timeline