Skip to content

Commit

Permalink
Merge pull request #306 from UW-GAC/feature/extra-links-in-navbar
Browse files Browse the repository at this point in the history
Add extra links to navbar for dbGaP views
  • Loading branch information
amstilp authored Nov 22, 2023
2 parents 99b5a67 + 97dc0b0 commit 7995221
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions primed/templates/dbgap/nav_items.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,23 @@
<li>
<a class="dropdown-item" href="{% url 'dbgap:dbgap_applications:list' %}">List dbGaP applications</a>
</li>
{% if perms.anvil_consortium_manager.anvil_consortium_manager_staff_edit %}
<li>
<a class="dropdown-item" href="{% url 'dbgap:dbgap_applications:dars' %}">List all current DARs</a>
</li>
{% if perms.anvil_consortium_manager.anvil_consortium_manager_staff_edit %}
<li>
<a class="dropdown-item" href="{% url 'dbgap:dbgap_applications:new' %}">Add a new dbGaP application</a>
</li>
<li>
<a class="dropdown-item" href="{% url 'dbgap:dbgap_applications:update_dars' %}">Update DARs for all applications</a>
</li>
{% endif %}
{% endif %}

<li><hr class="dropdown-divider"></li>

<li>
<a class="dropdown-item" href="{% url 'dbgap:records:index' %}">dbGaP records</a>
</li>

</ul>
</li>

0 comments on commit 7995221

Please sign in to comment.