Add edit and view docs buttons to subproject list
<ul>
{% for subproject in object_list %}
<li class="module-item">
- <div class="subproject-name">
- <a href="{% url 'projects_subprojects_update' project_slug=project.slug subproject_slug=subproject.child.slug %}">
+ <a href="{% url 'projects_manage' project_slug=subproject.child.slug %}">
{{ subproject.child }}
</a>
- </div>
- <div class="subproject-meta">
- <a href="{% url 'projects_manage' project_slug=subproject.child.slug %}">
- {% trans "Project page" %}</a>
- &nbsp;&dash;&nbsp;
+ <ul class="module-item-menu">
+ <li>
<a href="{{ subproject.get_absolute_url }}">
- {{ subproject.get_absolute_url }}
+ {% trans "View Docs" %}
</a>
- </div>
+ </li>
+ <li>
+ <a href="{% url 'projects_subprojects_update' project_slug=project.slug subproject_slug=subproject.child.slug %}">
+ {% trans "Edit" %}
+ </a>
+ </li>
+ </ul>
</li>
{% empty %}
<li class="module-item">
