Public/Private label for list of own projects
This commit is contained in:
parent
89be4efe6f
commit
0da4e3bafc
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user