Unify header titles

This commit is contained in:
2016-11-09 22:21:44 +01:00
parent c1c8552d7e
commit e91f3968b7
3 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@
| {% block body %}
#col_main
.col_header.item-list-header
| {{ assets | count }} Assets
a.item-project(href="{{url_for('projects.view', project_url=project.url)}}") {{ project.name }}
| Assets ({{ assets | count }})
a#item-add(href="javascript:asset_create('{{ project.url }}');") + Create Asset
.item-list.task.col-scrollable

View File

@@ -4,8 +4,8 @@
| {% block body %}
#col_main
.col_header.item-list-header
span(title='In the edit') {{ stats.nr_of_shots }} shots | {{ stats.total_frame_count }} frames
a.item-project(href="{{url_for('projects.view', project_url=project.url)}}") {{ project.name }}
span(title='In the edit') {{ stats.nr_of_shots }} shots | {{ stats.total_frame_count }} frames
| {# Not allowed for the moment. Shots are added via the Sequencer
a#item-add(href="javascript:shot_create('{{ project.url }}');") + Create Shot

View File

@@ -3,9 +3,9 @@
| {% block page_title %}Tasks - {{ project.name }} {% endblock %}
| {% block body %}
#col_main
.col_header.task-list-header
.col_header.item-list-header
a.item-project(href="{{url_for('projects.view', project_url=project.url)}}") {{ project.name }}
| Tasks ({{ tasks | count }})
a.task-project(href="{{url_for('projects.view', project_url=project.url)}}") {{ project.name }}
//- Dirty hack, assume a user can create a task if they can edit the project.
| {% if 'PUT' in project.allowed_methods %}
a#item-add(href="javascript:task_create(undefined, 'generic');") + Create Task