Lists: Don't wrap list's extra info (shots/tasks/assets count)

This commit is contained in:
2017-06-14 18:26:46 +02:00
parent 28edb86aeb
commit f6d2a477eb
2 changed files with 4 additions and 1 deletions

View File

@@ -244,6 +244,9 @@ nav.sidebar
color: $color-text-dark-secondary color: $color-text-dark-secondary
margin-right: 10px margin-right: 10px
span.item-extra
white-space: nowrap
padding-right: 10px
/* Debug styles, such as status color legend on help */ /* Debug styles, such as status color legend on help */
.debug-info .debug-info

View File

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