A web application allowing people to create an account, configure a profile, and share a list of URLs on that profile.
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.
 
 
 
 

32 lines
1.2 KiB

extends ../layouts/main
block content
.uk-margin
div(uk-grid)
.uk-width-expand
h1.uk-text-truncate Newsletters
.uk-width-auto
a(href="/admin/newsletter/compose").uk-button.dtp-button-primary
span
i.fas.fa-plus
span(class="uk-visible@m").uk-margin-small-left New Newsletter
.uk-margin
if (Array.isArray(newsletters) && (newsletters.length > 0))
ul.uk-list
each newsletter in newsletters
li
div(uk-grid).uk-grid-small.uk-flex-middle
.uk-width-expand
a(href=`/admin/newsletter/${newsletter._id}`).uk-display-block.uk-text-large.uk-text-truncate= newsletter.title
.uk-width-auto
button(type="button").uk-button.dtp-button-default
span
i.fas.fa-trash
span(class="uk-visible@m").uk-margin-small-left Delete
button(type="button").uk-button.dtp-button-default
span
i.fas.fa-paper-plane
span(class="uk-visible@m").uk-margin-small-left Send
else
div There are no newsletters at this time.