A few more minor tweaks

This commit is contained in:
Daniel J. Summers 2018-08-16 22:09:39 -05:00
parent 5bba499251
commit c0dd6b5dd6
3 changed files with 5 additions and 8 deletions

View File

@ -12,8 +12,8 @@
em: small. em: small.
#[router-link(:to="{ name: 'PrivacyPolicy' }") Privacy Policy] • #[router-link(:to="{ name: 'PrivacyPolicy' }") Privacy Policy] •
#[router-link(:to="{ name: 'TermsOfService' }") Terms of Service] • #[router-link(:to="{ name: 'TermsOfService' }") Terms of Service] •
#[a(href='https://github.com/bit-badger/myprayerjournal') Developed] and hosted by #[a(href='https://github.com/bit-badger/myprayerjournal' target='_blank') Developed] and hosted by
#[a(href='https://bitbadger.solutions') Bit Badger Solutions] #[a(href='https://bitbadger.solutions' target='_blank') Bit Badger Solutions]
</template> </template>
<script> <script>

View File

@ -1,7 +1,6 @@
<template lang="pug"> <template lang="pug">
article.mpj-main-content(role='main') article.mpj-main-content(role='main')
page-title(title='Answered Requests') page-title(title='Answered Requests')
p(v-if='!loaded') Loading answered requests...
div(v-if='loaded').mpj-answered-list div(v-if='loaded').mpj-answered-list
p.text-center(v-if='requests.length === 0'): em. p.text-center(v-if='requests.length === 0'): em.
No answered requests found; once you have marked one as &ldquo;Answered&rdquo;, it will appear here No answered requests found; once you have marked one as &ldquo;Answered&rdquo;, it will appear here
@ -16,6 +15,7 @@ article.mpj-main-content(role='main')
= ' View Full Request' = ' View Full Request'
small.mpj-muted-text: em. small.mpj-muted-text: em.
&nbsp; Answered #[date-from-now(:value='req.asOf')] &nbsp; Answered #[date-from-now(:value='req.asOf')]
p(v-else) Loading answered requests...
</template> </template>
<script> <script>

View File

@ -2,7 +2,7 @@
article.mpj-main-content-wide(role='main') article.mpj-main-content-wide(role='main')
page-title(:title='title') page-title(:title='title')
p(v-if='isLoadingJournal') Loading your prayer journal... p(v-if='isLoadingJournal') Loading your prayer journal...
template(v-if='!isLoadingJournal') template(v-else)
new-request new-request
br br
.mpj-journal(v-if='journal.length > 0') .mpj-journal(v-if='journal.length > 0')
@ -11,13 +11,12 @@ article.mpj-main-content-wide(role='main')
:request='request' :request='request'
:events='eventBus' :events='eventBus'
:toast='toast') :toast='toast')
p.text-center(v-if='journal.length === 0'): em. p.text-center(v-else): em.
No requests found; click the &ldquo;Add a New Request&rdquo; button to add one No requests found; click the &ldquo;Add a New Request&rdquo; button to add one
edit-request(:events='eventBus' edit-request(:events='eventBus'
:toast='toast') :toast='toast')
notes-edit(:events='eventBus' notes-edit(:events='eventBus'
:toast='toast') :toast='toast')
full-request(:events='eventBus')
snooze-request(:events='eventBus' snooze-request(:events='eventBus'
:toast='toast') :toast='toast')
</template> </template>
@ -29,7 +28,6 @@ import Vue from 'vue'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import EditRequest from './request/EditRequest' import EditRequest from './request/EditRequest'
import FullRequest from './request/FullRequest'
import NewRequest from './request/NewRequest' import NewRequest from './request/NewRequest'
import NotesEdit from './request/NotesEdit' import NotesEdit from './request/NotesEdit'
import RequestCard from './request/RequestCard' import RequestCard from './request/RequestCard'
@ -41,7 +39,6 @@ export default {
name: 'journal', name: 'journal',
components: { components: {
EditRequest, EditRequest,
FullRequest,
NewRequest, NewRequest,
NotesEdit, NotesEdit,
RequestCard, RequestCard,