Shots/Tasks count on list

This commit is contained in:
2016-11-04 16:29:37 +01:00
parent ded4b8e2ae
commit deff214b42
3 changed files with 5 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ body
nav.sidebar .navbar-item.attract
+sidebar-button-active
#col_main .col_header
box-shadow: none
$splitter-width: 6px
#app-main

View File

@@ -4,7 +4,7 @@
| {% block body %}
#col_main
.col_header.task-list-header
| Shots
| Shots ({{ shots | count }})
a.task-project(href="{{url_for('projects.view', project_url=project.url)}}") {{ project.name }}
| {# Not allowed for the moment. Shots are added via the Sequencer

View File

@@ -4,7 +4,7 @@
| {% block body %}
#col_main
.col_header.task-list-header
| Tasks
| 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 %}