Skip to content

Commit c9f7b18

Browse files
committed
Cleaner title on the document history page when the document is an rfc (or any other document where rev is empty). Commit ready for merge.
- Legacy-Id: 18744
1 parent 3697a9e commit c9f7b18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/doc/document_history.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% load ietf_filters %}
55
{% load static %}
66

7-
{% block title %}History for {{ doc.name }}-{{ doc.rev }}{% endblock %}
7+
{% block title %}History for {{ doc.name }}{% if doc.rev %}-{{ doc.rev }}{% endif %}{% endblock %}
88

99
{% block morecss %}
1010
form.diff-form button[type=submit] { margin-left: 2em; }

0 commit comments

Comments
 (0)