Editing the sheperd now works for all documents, so remove the limitation

on this being a WG document, and adjust the URL name and arguements.
 - Legacy-Id: 5840
This commit is contained in:
Henrik Levkowetz 2013-07-17 22:26:43 +00:00
parent b31c781603
commit 92a8ed56a8

View file

@ -122,8 +122,7 @@
<tr>
<td>Document shepherd:</td>
<td>
{# the shepherd edit page only works for WGs at the moment ... #}
<a {% if can_edit_stream_info and group.type_id == "wg" %}class="editlink" href="{% url doc_managing_shepherd acronym=group.acronym,name=doc.name %}"{% endif %}>
<a {% if can_edit_stream_info %}class="editlink" href="{% url doc_edit_shepherd name=doc.name %}"{% endif %}>
{{ doc.shepherd|default:"No shepherd assigned" }}
</a>
</td>