DEV: Add plugin outlet to about.hbs (#29582)
* DEV: Add plugin outlet to about.hbs * linter issues * removed unintended code
This commit is contained in:
parent
c3bc7a6a05
commit
e65367d603
|
@ -1,41 +1,47 @@
|
|||
{{body-class "about-page"}}
|
||||
<PluginOutlet
|
||||
@name="about-wrapper"
|
||||
@outletArgs={{hash model=this.model contactInfo=this.contactInfo}}
|
||||
>
|
||||
{{body-class "about-page"}}
|
||||
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="contents clearfix body-page">
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="contents clearfix body-page">
|
||||
|
||||
<ul class="nav-pills">
|
||||
<li class="nav-item-about"><LinkTo @route="about" class="active">{{i18n
|
||||
"about.simple_title"
|
||||
}}</LinkTo></li>
|
||||
{{#if this.faqOverridden}}
|
||||
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
|
||||
"guidelines"
|
||||
}}</LinkTo></li>
|
||||
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n
|
||||
"faq"
|
||||
}}</LinkTo></li>
|
||||
{{else if this.renameFaqToGuidelines}}
|
||||
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
|
||||
"guidelines"
|
||||
}}</LinkTo></li>
|
||||
{{else}}
|
||||
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n
|
||||
"faq"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
{{#if this.site.tos_url}}
|
||||
<li class="nav-item-tos"><LinkTo @route="tos">{{i18n
|
||||
"tos"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
{{#if this.site.privacy_policy_url}}
|
||||
<li class="nav-item-privacy"><LinkTo @route="privacy">{{i18n
|
||||
"privacy"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<AboutPage @model={{this.model}} />
|
||||
<ul class="nav-pills">
|
||||
<li class="nav-item-about"><LinkTo
|
||||
@route="about"
|
||||
class="active"
|
||||
>{{i18n "about.simple_title"}}</LinkTo></li>
|
||||
{{#if this.faqOverridden}}
|
||||
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
|
||||
"guidelines"
|
||||
}}</LinkTo></li>
|
||||
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n
|
||||
"faq"
|
||||
}}</LinkTo></li>
|
||||
{{else if this.renameFaqToGuidelines}}
|
||||
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
|
||||
"guidelines"
|
||||
}}</LinkTo></li>
|
||||
{{else}}
|
||||
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n
|
||||
"faq"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
{{#if this.site.tos_url}}
|
||||
<li class="nav-item-tos"><LinkTo @route="tos">{{i18n
|
||||
"tos"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
{{#if this.site.privacy_policy_url}}
|
||||
<li class="nav-item-privacy"><LinkTo @route="privacy">{{i18n
|
||||
"privacy"
|
||||
}}</LinkTo></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<AboutPage @model={{this.model}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
</PluginOutlet>
|
Loading…
Reference in New Issue