Unify header titles
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user