Project: Show edit button in sidebar

So we can access it from everywhere and not only from project home
This commit is contained in:
2017-09-17 19:00:52 +02:00
parent 4e153413d9
commit 53ac29cfd1
2 changed files with 19 additions and 1 deletions

View File

@@ -121,6 +121,15 @@ link(href="{{ url_for('static_pillar', filename='assets/css/project-main.css', v
| {% endif %}
| {{ extension_sidebar_links }}
| {% if project.has_method('PUT') %}
li(
title="Edit Project",
data-toggle="tooltip",
data-placement="right")
a(href="{{ url_for('projects.edit', project_url=project.url) }}")
i.pi-cog
| {% endif %}
.project_nav-toggle-btn(
title="Toggle navigation [T]",
data-toggle="tooltip",