get rid of dynamic nav title
This commit is contained in:
parent
f543024ca6
commit
940954f8fe
|
@ -13,11 +13,9 @@ module.exports = [
|
||||||
{id:'fa-play-circle', src:'node_modules/font-awesome-svg-png/white/svg/play-circle.svg', title: 'Play'},
|
{id:'fa-play-circle', src:'node_modules/font-awesome-svg-png/white/svg/play-circle.svg', title: 'Play'},
|
||||||
{id:'fa-eye', src:'node_modules/font-awesome-svg-png/white/svg/eye.svg', title: 'Show Sensitive Content'},
|
{id:'fa-eye', src:'node_modules/font-awesome-svg-png/white/svg/eye.svg', title: 'Show Sensitive Content'},
|
||||||
{id:'fa-eye-slash', src:'node_modules/font-awesome-svg-png/white/svg/eye-slash.svg', title: 'Hide Sensitive Content'},
|
{id:'fa-eye-slash', src:'node_modules/font-awesome-svg-png/white/svg/eye-slash.svg', title: 'Hide Sensitive Content'},
|
||||||
{id:'fa-hashtag', src:'node_modules/font-awesome-svg-png/white/svg/hashtag.svg', title: 'Hashtag'},
|
|
||||||
{id:'fa-lock', src:'node_modules/font-awesome-svg-png/white/svg/lock.svg', title: 'Locked'},
|
{id:'fa-lock', src:'node_modules/font-awesome-svg-png/white/svg/lock.svg', title: 'Locked'},
|
||||||
{id:'fa-envelope', src:'node_modules/font-awesome-svg-png/white/svg/envelope.svg', title: 'Sealed Envelope'},
|
{id:'fa-envelope', src:'node_modules/font-awesome-svg-png/white/svg/envelope.svg', title: 'Sealed Envelope'},
|
||||||
{id:'fa-user-times', src:'node_modules/font-awesome-svg-png/white/svg/user-times.svg', title: 'Stop Following'},
|
{id:'fa-user-times', src:'node_modules/font-awesome-svg-png/white/svg/user-times.svg', title: 'Stop Following'},
|
||||||
{id:'fa-user-plus', src:'node_modules/font-awesome-svg-png/white/svg/user-plus.svg', title: 'Follow'},
|
{id:'fa-user-plus', src:'node_modules/font-awesome-svg-png/white/svg/user-plus.svg', title: 'Follow'},
|
||||||
{id:'fa-comments', src:'node_modules/font-awesome-svg-png/white/svg/comments.svg', title: 'Statuses'},
|
|
||||||
{id:'fa-external-link', src:'node_modules/font-awesome-svg-png/white/svg/external-link.svg', title: 'External Link'},
|
{id:'fa-external-link', src:'node_modules/font-awesome-svg-png/white/svg/external-link.svg', title: 'External Link'},
|
||||||
]
|
]
|
|
@ -1,5 +1,5 @@
|
||||||
<:Window bind:online />
|
<:Window bind:online />
|
||||||
<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel />
|
<Nav :page />
|
||||||
|
|
||||||
{{#if virtual}}
|
{{#if virtual}}
|
||||||
<VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}">
|
<VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}">
|
||||||
|
|
|
@ -15,12 +15,6 @@
|
||||||
<li>
|
<li>
|
||||||
<NavItem :page name="settings" href="/settings" svg="#fa-gear" label="Settings" />
|
<NavItem :page name="settings" href="/settings" svg="#fa-gear" label="Settings" />
|
||||||
</li>
|
</li>
|
||||||
{{#if dynamicPage}}
|
|
||||||
<li>
|
|
||||||
<NavItem :page name="{{dynamicPage}}" href="{{dynamicHref}}" svg="{{dynamicIcon}}"
|
|
||||||
label="{{dynamicLabel}}" forceCurrent="true" />
|
|
||||||
</li>
|
|
||||||
{{/if}}
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,7 @@
|
||||||
|
|
||||||
<Layout page='tags'
|
<Layout page='tags'
|
||||||
virtual="true"
|
virtual="true"
|
||||||
virtualRealm='account/{{params.accountId}}'
|
virtualRealm='account/{{params.accountId}}' >
|
||||||
dynamicPage="{{profileName}}"
|
|
||||||
dynamicHref="/accounts/{{params.accountId}}"
|
|
||||||
dynamicLabel="{{shortProfileName}}"
|
|
||||||
dynamicIcon="#fa-user" >
|
|
||||||
{{#if $isUserLoggedIn}}
|
{{#if $isUserLoggedIn}}
|
||||||
<DynamicPageBanner title="{{profileName}}" />
|
<DynamicPageBanner title="{{profileName}}" />
|
||||||
{{#if $currentAccountProfile}}
|
{{#if $currentAccountProfile}}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
<title>Pinafore</title>
|
<title>Pinafore</title>
|
||||||
</:Head>
|
</:Head>
|
||||||
|
|
||||||
<Layout page='statuses'
|
<Layout page='statuses' >
|
||||||
dynamicPage="Status"
|
|
||||||
dynamicHref="/statuses/{{params.statusId}}"
|
|
||||||
dynamicLabel="Status"
|
|
||||||
dynamicIcon="#fa-comments" >
|
|
||||||
{{#if $isUserLoggedIn}}
|
{{#if $isUserLoggedIn}}
|
||||||
<DynamicPageBanner title=""/>
|
<DynamicPageBanner title=""/>
|
||||||
<LazyTimeline timeline='status/{{params.statusId}}' />
|
<LazyTimeline timeline='status/{{params.statusId}}' />
|
||||||
|
|
|
@ -4,11 +4,7 @@
|
||||||
|
|
||||||
<Layout page='tags'
|
<Layout page='tags'
|
||||||
virtual="true"
|
virtual="true"
|
||||||
virtualRealm='tag/{{params.tagName}}'
|
virtualRealm='tag/{{params.tagName}}' >
|
||||||
dynamicPage="{{params.tagName}}"
|
|
||||||
dynamicHref="/tags/{{params.tagName}}"
|
|
||||||
dynamicLabel="{{'#' + params.tagName}}"
|
|
||||||
dynamicIcon="#fa-hashtag" >
|
|
||||||
{{#if $isUserLoggedIn}}
|
{{#if $isUserLoggedIn}}
|
||||||
<DynamicPageBanner title="{{'#' + params.tagName}}"/>
|
<DynamicPageBanner title="{{'#' + params.tagName}}"/>
|
||||||
<LazyTimeline timeline='tag/{{params.tagName}}' />
|
<LazyTimeline timeline='tag/{{params.tagName}}' />
|
||||||
|
|
Loading…
Reference in a new issue