get rid of dynamic nav title
This commit is contained in:
		
							parent
							
								
									f543024ca6
								
							
						
					
					
						commit
						940954f8fe
					
				
					 6 changed files with 4 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -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-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-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-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-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'},
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
<:Window bind:online />
 | 
			
		||||
<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel />
 | 
			
		||||
<Nav :page />
 | 
			
		||||
 | 
			
		||||
{{#if virtual}}
 | 
			
		||||
  <VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,12 +15,6 @@
 | 
			
		|||
	  <li>
 | 
			
		||||
      <NavItem :page name="settings" href="/settings" svg="#fa-gear" label="Settings" />
 | 
			
		||||
		</li>
 | 
			
		||||
    {{#if dynamicPage}}
 | 
			
		||||
    <li>
 | 
			
		||||
      <NavItem :page name="{{dynamicPage}}" href="{{dynamicHref}}" svg="{{dynamicIcon}}"
 | 
			
		||||
               label="{{dynamicLabel}}" forceCurrent="true" />
 | 
			
		||||
    </li>
 | 
			
		||||
    {{/if}}
 | 
			
		||||
	</ul>
 | 
			
		||||
</nav>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,11 +4,7 @@
 | 
			
		|||
 | 
			
		||||
<Layout page='tags'
 | 
			
		||||
        virtual="true"
 | 
			
		||||
        virtualRealm='account/{{params.accountId}}'
 | 
			
		||||
        dynamicPage="{{profileName}}"
 | 
			
		||||
        dynamicHref="/accounts/{{params.accountId}}"
 | 
			
		||||
        dynamicLabel="{{shortProfileName}}"
 | 
			
		||||
        dynamicIcon="#fa-user" >
 | 
			
		||||
        virtualRealm='account/{{params.accountId}}' >
 | 
			
		||||
  {{#if $isUserLoggedIn}}
 | 
			
		||||
  <DynamicPageBanner title="{{profileName}}" />
 | 
			
		||||
    {{#if $currentAccountProfile}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,11 +2,7 @@
 | 
			
		|||
  <title>Pinafore</title>
 | 
			
		||||
</:Head>
 | 
			
		||||
 | 
			
		||||
<Layout page='statuses'
 | 
			
		||||
        dynamicPage="Status"
 | 
			
		||||
        dynamicHref="/statuses/{{params.statusId}}"
 | 
			
		||||
        dynamicLabel="Status"
 | 
			
		||||
        dynamicIcon="#fa-comments" >
 | 
			
		||||
<Layout page='statuses' >
 | 
			
		||||
  {{#if $isUserLoggedIn}}
 | 
			
		||||
  <DynamicPageBanner title=""/>
 | 
			
		||||
  <LazyTimeline timeline='status/{{params.statusId}}' />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,11 +4,7 @@
 | 
			
		|||
 | 
			
		||||
<Layout page='tags'
 | 
			
		||||
        virtual="true"
 | 
			
		||||
        virtualRealm='tag/{{params.tagName}}'
 | 
			
		||||
        dynamicPage="{{params.tagName}}"
 | 
			
		||||
        dynamicHref="/tags/{{params.tagName}}"
 | 
			
		||||
        dynamicLabel="{{'#' + params.tagName}}"
 | 
			
		||||
        dynamicIcon="#fa-hashtag" >
 | 
			
		||||
        virtualRealm='tag/{{params.tagName}}' >
 | 
			
		||||
  {{#if $isUserLoggedIn}}
 | 
			
		||||
  <DynamicPageBanner title="{{'#' + params.tagName}}"/>
 | 
			
		||||
  <LazyTimeline timeline='tag/{{params.tagName}}' />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue