Skip to content

Commit

Permalink
Link to new dashboard Addons page in old dashboard settings. (#11678)
Browse files Browse the repository at this point in the history
* Link to new dashboard Addons page in old dashboard settings.

This is just using the same pattern as for versions,
but linking to another dashboard.
Could use an external icon here,
but didn't want to get too deep :)

* Fix up link

* Fix up docstring
  • Loading branch information
ericholscher authored Oct 14, 2024
1 parent 09e36f0 commit 9344b02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/templates/projects/project_edit_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<div class="navigable">
<ul>
<li class="{% block project-edit-active %}{% endblock %}"><a href="{% url "projects_edit" project.slug %}">{% trans "Settings" %} </a></li>
<!-- Link the Addons on the new dashboard. Can't reverse the URL. -->
<li><a href="//app.{{ PRODUCTION_DOMAIN }}/dashboard/{{ project.slug }}/addons/edit/">{% trans " Addons" %}</a></li>
<!-- Add a link to the dashboard versions page so users can find it -->
<li><a href="{% url "project_version_list" project.slug %}">{% trans "Edit Versions" %}</a></li>
<li class="{% block project-domains-active %}{% endblock %}"><a href="{% url "projects_domains" project.slug %}">{% trans "Domains" %}</a></li>
Expand Down

0 comments on commit 9344b02

Please sign in to comment.