small fixes & touch-ups

master
rob 2 years ago
parent 46567627d3
commit c78a14fc6d

@ -42,6 +42,7 @@ class CommentService extends SiteService {
{ {
path: 'author', path: 'author',
select: '_id username username_lc displayName picture', select: '_id username username_lc displayName picture',
strictPopulate: false,
}, },
], ],
}, },

@ -23,7 +23,7 @@ block content
.uk-width-auto .uk-width-auto
.uk-inline .uk-inline
button(type="button").uk-button.uk-button-link.uk-button-small button(type="button").uk-button.uk-button-link.uk-button-small
i.fas.fa-ellipsis-h i.fas.fa-ellipsis-v
#chat-room-menu(uk-dropdown={ pos: 'bottom-right', mode: 'click' }) #chat-room-menu(uk-dropdown={ pos: 'bottom-right', mode: 'click' })
ul.uk-nav.uk-nav-default.uk-dropdown-nav ul.uk-nav.uk-nav-default.uk-dropdown-nav
li li

@ -19,7 +19,7 @@ mixin renderComment (comment, options)
.uk-width-auto .uk-width-auto
button(type="button").uk-button.uk-button-link button(type="button").uk-button.uk-button-link
span span
i.fas.fa-ellipsis-h i.fas.fa-ellipsis-v
div(data-comment-id= comment._id, uk-dropdown={ mode: 'click', pos: 'bottom-right' }) div(data-comment-id= comment._id, uk-dropdown={ mode: 'click', pos: 'bottom-right' })
ul.uk-nav.uk-dropdown-nav ul.uk-nav.uk-dropdown-nav
if user && user._id.equals(comment.author._id) if user && user._id.equals(comment.author._id)

@ -24,4 +24,8 @@ block content
.uk-width-auto .uk-width-auto
alert.uk-label= badge alert.uk-label= badge
p Welcome to #[+renderSiteLink()]. This app/site really doesn't do anything at all other than provide everything needed for building distributed communities of web applications that all talk to each other and share information in new and easy ways. h2 Recent Comments
ul.uk-list
each comment in commentHistory
li
+renderComment(comment, { })
Loading…
Cancel
Save