Skip to content

Commit 9344b02

Browse files
authored
Link to new dashboard Addons page in old dashboard settings. (#11678)
* 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
1 parent 09e36f0 commit 9344b02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/templates/projects/project_edit_base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<div class="navigable">
1616
<ul>
1717
<li class="{% block project-edit-active %}{% endblock %}"><a href="{% url "projects_edit" project.slug %}">{% trans "Settings" %} </a></li>
18+
<!-- Link the Addons on the new dashboard. Can't reverse the URL. -->
19+
<li><a href="//app.{{ PRODUCTION_DOMAIN }}/dashboard/{{ project.slug }}/addons/edit/">{% trans " Addons" %}</a></li>
1820
<!-- Add a link to the dashboard versions page so users can find it -->
1921
<li><a href="{% url "project_version_list" project.slug %}">{% trans "Edit Versions" %}</a></li>
2022
<li class="{% block project-domains-active %}{% endblock %}"><a href="{% url "projects_domains" project.slug %}">{% trans "Domains" %}</a></li>

0 commit comments

Comments
 (0)