Tasks, Shots, Assets, instead of S,A,T

This commit is contained in:
2016-11-11 11:46:07 +01:00
parent 23effbd9db
commit d50c4f1cda
3 changed files with 12 additions and 7 deletions

View File

@@ -28,6 +28,11 @@ body
.col_header
box-shadow: none
nav.sidebar
a.navbar-item
&.tasks, &.shots, &.assets
text-transform: initial
font-size: .85em
.input-group
width: 100%

View File

@@ -610,6 +610,6 @@
#{$property}: $color-status-review
=sidebar-button-active
background-color: $color-background-nav
background-color: $color-background-nav-light
box-shadow: inset 2px 0 0 $color-primary
color: white

View File

@@ -38,20 +38,20 @@ html(lang="en")
title='Attract')
i.pi-attract
| {% if project %}
li
a.navbar-item.tasks(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}",
title='Tasks for project {{ project.name }}') Tasks
li
a.navbar-item.shots(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}",
title='Shots for project {{ project.name }}') S
title='Shots for project {{ project.name }}') Shots
li
a.navbar-item.assets(href="{{ url_for('attract.assets.perproject.index', project_url=project.url) }}",
title='Assets for project {{ project.name }}') A
li
a.navbar-item.tasks(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}",
title='Tasks for project {{ project.name }}') T
title='Assets for project {{ project.name }}') Assets
| {% else %}
| {% if current_user.is_authenticated %}
li
a.navbar-item.tasks(href="{{ url_for('attract.tasks.index') }}",
title='Your tasks') T
title='Your tasks') Tasks
| {% endif %}
| {% endif %}