Added project URL to body dataset.

This can be accessed using ProjectUtils.projectUrl(), requires Pillar
91e3ec659f68.
This commit is contained in:
2016-09-23 10:13:12 +02:00
parent 72a25434ea
commit 78111968ab
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ html(lang="en")
| {% block style %}{% endblock %}
body
body("{% block bodyattrs %}{% endblock %}")
#app-main
#col_sidebar
nav.sidebar(role="navigation")
@@ -41,4 +41,3 @@ html(lang="en")
script(src="{{ url_for('static_attract', filename='js/tasks.js') }}", async=true)
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.select2.min.js') }}", async=true)
| {% block footer_scripts %}{% endblock %}

View File

@@ -1,5 +1,6 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Shots - {{ project.name }}{% endblock %}
| {% block bodyattrs %}data-project-url="{{ project.url }}"{% endblock %}
| {% block body %}
#col_main
.col_header.task-list-header