Point at the datatracker's document pages, instead of directly at the document in question, for documents on a person's profile page. This reverts to the functionality as originally designed, but uses the correct doc.get_absolute_url instead of doc.href() (which incorrectly did the same as get_absolute_url until recently). Fixes issue #2340.
- Legacy-Id: 13989
This commit is contained in:
parent
4295396891
commit
dfaceb6e22
|
@ -64,7 +64,7 @@
|
|||
<table class="table">
|
||||
{% for doc in person.rfcs %}
|
||||
<tr>
|
||||
<td><a href="{{ doc.href }}">{{ doc.canonical_name }}</a></td>
|
||||
<td><a href="{{ doc.get_absolute_url }}">{{ doc.canonical_name }}</a></td>
|
||||
<td>{{ doc.pub_date|date:"b Y"|title|nbsp }}</td>
|
||||
<td>{{ doc.title }}</td>
|
||||
</tr>
|
||||
|
@ -80,7 +80,7 @@
|
|||
<ul>
|
||||
{% for doc in person.active_drafts %}
|
||||
<li>
|
||||
<a href="{{ doc.href }}">{{ doc.canonical_name }}</a>
|
||||
<a href="{{ doc.get_absolute_url }}">{{ doc.canonical_name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -94,7 +94,7 @@
|
|||
<ul>
|
||||
{% for doc in person.expired_drafts %}
|
||||
{% if not doc.replaced_by %}
|
||||
<li><a href="{{ doc.href }}">{{ doc.canonical_name }}</a></li>
|
||||
<li><a href="{{ doc.get_absolute_url }}">{{ doc.canonical_name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue