You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
997 B
29 lines
997 B
extends ../../layouts/main
|
|
block content
|
|
|
|
include ../components/draft-list
|
|
include ../components/list
|
|
include ../../post/components/summary
|
|
|
|
include ../../components/pagination-bar
|
|
|
|
section.uk-section.uk-section-default.uk-section-xsmall
|
|
.uk-container.uk-container-expand
|
|
div(uk-grid).uk-flex-middle
|
|
.uk-width-expand
|
|
h2.uk-margin-remove Drafts
|
|
.uk-width-auto
|
|
if user.permissions.canAuthorPosts || user.flags.isAdmin
|
|
a(href= "/post/compose").uk-button.uk-button-primary.uk-border-rounded
|
|
span
|
|
i.fas.fa-plus
|
|
span.uk-margin-small-left.uk-text-bold Create Post
|
|
.uk-width-medium
|
|
a(href= "/author").uk-button.uk-button-primary.uk-border-rounded
|
|
span.uk-margin-small-middle.uk-text-bold Author Dashboard
|
|
div(uk-grid)
|
|
div(class="uk-width-1-1 uk-width-3-3@m")
|
|
+renderSectionTitle('Drafts')
|
|
+renderFullDraftList(drafts.posts)
|
|
|