Pinafore-Web-Client-Frontend/routes/statuses/[statusId]/index.html

37 lines
964 B
HTML
Raw Normal View History

2018-01-29 00:44:33 +01:00
<:Head>
2018-02-09 07:38:33 +01:00
<title>Pinafore Status</title>
2018-01-29 00:44:33 +01:00
</:Head>
2018-02-03 19:57:45 +01:00
<Layout page='statuses' >
2018-01-29 00:44:33 +01:00
{{#if $isUserLoggedIn}}
2018-01-29 01:34:18 +01:00
<DynamicPageBanner title=""/>
2018-01-29 00:44:33 +01:00
<LazyTimeline timeline='status/{{params.statusId}}' />
{{else}}
<HiddenFromSSR>
<FreeTextLayout>
<h1>Status</h1>
<p>A status thread will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
{{/if}}
</Layout>
<script>
import Layout from '../../_components/Layout.html'
import LazyTimeline from '../../_components/timeline/LazyTimeline.html'
import FreeTextLayout from '../../_components/FreeTextLayout.html'
import { store } from '../../_store/store.js'
import HiddenFromSSR from '../../_components/HiddenFromSSR'
import DynamicPageBanner from '../../_components/DynamicPageBanner.html'
2018-01-29 00:44:33 +01:00
export default {
store: () => store,
components: {
Layout,
LazyTimeline,
FreeTextLayout,
HiddenFromSSR,
DynamicPageBanner
}
}
</script>