Public/Private label for list of own projects

This commit is contained in:
Pablo Vazquez 2016-11-08 12:00:15 +01:00
parent 89be4efe6f
commit 0da4e3bafc
2 changed files with 15 additions and 0 deletions

View File

@ -301,6 +301,17 @@
width: 100%
color: $color-text-dark-primary
li.status
color: $color-text-dark-secondary
border: thin solid $color-text-dark-hint
border-radius: 3px
padding: 0 5px
font-size: .85em
&.public
color: $color-success
border-color: $color-success
li.leave
span
&.user-remove-prompt:hover,

View File

@ -68,6 +68,10 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
| {{ project.name }}
ul.meta
li.status(
class="{{ project.is_private | yesno('private,public,') }}",
title="{{ project.is_private | yesno('Private Project,Public Project,') }}")
| {{ project.is_private | yesno('Private,Public,') }}
li.when(title="{{ project._created }}") {{ project._created | pretty_date }}
li.edit
a(href="{{ url_for('projects.edit', project_url=project.url) }}") Edit