Split links on the session detail page so that the title goes straight to the document content for non-draft documents. Commit ready for merge.
- Legacy-Id: 12001
This commit is contained in:
parent
0f6e3f434e
commit
e24281cfac
|
@ -43,7 +43,8 @@
|
|||
{% url 'doc_view' name=pres.document.name as url %}
|
||||
{% endif %}
|
||||
<td>
|
||||
<a href="{{url}}">{{pres.document.title}} ({{ pres.document.name }}{% if pres.rev %}-{{ pres.rev }}{% endif %})</a>
|
||||
<a href="{{pres.document.get_absolute_url}}">{{pres.document.title}}</a>
|
||||
<a href="{{url}}">({{ pres.document.name }}{% if pres.rev %}-{{ pres.rev }}{% endif %})</a>
|
||||
</td>
|
||||
{% if user|has_role:"Secretariat" or can_manage_materials %}
|
||||
<td class="col-md-2">
|
||||
|
@ -88,7 +89,8 @@
|
|||
{% url 'doc_view' name=pres.document.name as url %}
|
||||
{% endif %}
|
||||
<td>
|
||||
<a href="{{url}}">{{pres.document.title}} ({{ pres.document.name }}{% if pres.rev %}-{{ pres.rev }}{% endif %}) </a>
|
||||
<a href="{{pres.document.get_absolute_url}}">{{pres.document.title}} </a>
|
||||
<a href="{{url}}">({{ pres.document.name }}{% if pres.rev %}-{{ pres.rev }}{% endif %}) </a>
|
||||
</td>
|
||||
{% if can_manage_materials %}
|
||||
<td class="col-md-2">
|
||||
|
|
Loading…
Reference in a new issue