Public/Private label for list of own projects
This commit is contained in:
@@ -301,6 +301,17 @@
|
|||||||
width: 100%
|
width: 100%
|
||||||
color: $color-text-dark-primary
|
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
|
li.leave
|
||||||
span
|
span
|
||||||
&.user-remove-prompt:hover,
|
&.user-remove-prompt:hover,
|
||||||
|
@@ -68,6 +68,10 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
|
|||||||
| {{ project.name }}
|
| {{ project.name }}
|
||||||
|
|
||||||
ul.meta
|
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.when(title="{{ project._created }}") {{ project._created | pretty_date }}
|
||||||
li.edit
|
li.edit
|
||||||
a(href="{{ url_for('projects.edit', project_url=project.url) }}") Edit
|
a(href="{{ url_for('projects.edit', project_url=project.url) }}") Edit
|
||||||
|
Reference in New Issue
Block a user