Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/browse/revision.html
Show All 13 Lines | |||||
{% block header %} | {% block header %} | ||||
{{ block.super }} | {{ block.super }} | ||||
{% render_bundle 'revision' %} | {% render_bundle 'revision' %} | ||||
{% endblock %} | {% endblock %} | ||||
{% block swh-browse-content %} | {% block swh-browse-content %} | ||||
<div> | <div> | ||||
<i class="{{ swh_object_icons|key_value:'revision' }} fa-fw"></i>Revision <b>{{ swh_object_metadata.revision }}</b> | <i class="{{ swh_object_icons|key_value:'revision' }} fa-fw"></i>Revision <b>{{ swh_object_metadata.revision }}</b> | ||||
authored by {{ swh_object_metadata.author }} on <b>{{ swh_object_metadata.date }}</b>, | authored by {{ swh_object_metadata.author_url }} on <b>{{ swh_object_metadata.date }}</b>, | ||||
ardumont: shouldn't this be a link to the author/committer instead of the plain url?
(source the… | |||||
Done Inline ActionsThe author/commiter url is a simple mailto:<email> link here as it was prior that diff. I used the _url suffix for consistency with other objects metadata. anlambert: The author/commiter url is a simple `mailto:<email>` link here as it was prior that diff. I… | |||||
Not Done Inline Actionsok, thx for clarifying ;) ardumont: ok, thx for clarifying ;) | |||||
committed by {{ swh_object_metadata.committer }} on <b>{{ swh_object_metadata|key_value:'committer date' }}</b> | committed by {{ swh_object_metadata.committer_url }} on <b>{{ swh_object_metadata.committer_date }}</b> | ||||
</div> | </div> | ||||
<div class="card"> | <div class="card"> | ||||
<div class="card-header bg-gray-light border-bottom-0" style="padding-left: 9.5px;"> | <div class="card-header bg-gray-light border-bottom-0" style="padding-left: 9.5px;"> | ||||
<a data-toggle="collapse" id="swh-collapse-revision-message" href="#swh-revision-message"> | <a data-toggle="collapse" id="swh-collapse-revision-message" href="#swh-revision-message"> | ||||
<div class="float-left"> | <div class="float-left"> | ||||
<pre style="white-space: pre-wrap; background-color: inherit; padding: 0px; margin: 0px; border: none;"><h5 style="padding-bottom: 0px; font-weight: normal;">{{ message_header }}</h5></pre> | <pre style="white-space: pre-wrap; background-color: inherit; padding: 0px; margin: 0px; border: none;"><h5 style="padding-bottom: 0px; font-weight: normal;">{{ message_header }}</h5></pre> | ||||
</div> | </div> | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |
shouldn't this be a link to the author/committer instead of the plain url?
(source the author/committer url, the author/committer name as displayed information)