Skip to content

Commit 0d36c59

Browse files
committed
Hooked up existing projects_export URL in project bar for non-imported projects (Issue readthedocs#16)
1 parent 524634e commit 0d36c59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/core/project_bar.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1>{{ project }}</h1>
2323
{% if request.user == project.user %}
2424
{% if not project.is_imported %}
2525
<li {% block editing-option-manage %}{% endblock %}><a href="{% url projects_manage project.slug %}">Manage Files</a></li>
26+
<li {% block editing-option-export %}{% endblock %}><a href="{% url projects_export project.slug %}">Export Zip</a></li>
2627
{% endif %}
2728
<li {% block editing-option-edit-proj %}{% endblock %}><a href="{% url projects_edit project.slug %}">Edit Project</a></li>
2829
{% endif %}
@@ -41,7 +42,7 @@ <h1>{{ project }}</h1>
4142

4243
</ul>
4344
</div>
44-
45+
4546

4647
</div>
4748
</div>

0 commit comments

Comments
 (0)