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:
Juan David Martínez Cubillos 2024-11-05 08:33:20 -05:00 committed by GitHub
parent c3bc7a6a05
commit e65367d603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 44 additions and 38 deletions

View File

@ -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> <section>
<div class="container"> <div class="container">
<div class="contents clearfix body-page"> <div class="contents clearfix body-page">
<ul class="nav-pills"> <ul class="nav-pills">
<li class="nav-item-about"><LinkTo @route="about" class="active">{{i18n <li class="nav-item-about"><LinkTo
"about.simple_title" @route="about"
}}</LinkTo></li> class="active"
{{#if this.faqOverridden}} >{{i18n "about.simple_title"}}</LinkTo></li>
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n {{#if this.faqOverridden}}
"guidelines" <li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
}}</LinkTo></li> "guidelines"
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n }}</LinkTo></li>
"faq" <li class="nav-item-faq"><LinkTo @route="faq">{{i18n
}}</LinkTo></li> "faq"
{{else if this.renameFaqToGuidelines}} }}</LinkTo></li>
<li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n {{else if this.renameFaqToGuidelines}}
"guidelines" <li class="nav-item-guidelines"><LinkTo @route="guidelines">{{i18n
}}</LinkTo></li> "guidelines"
{{else}} }}</LinkTo></li>
<li class="nav-item-faq"><LinkTo @route="faq">{{i18n {{else}}
"faq" <li class="nav-item-faq"><LinkTo @route="faq">{{i18n
}}</LinkTo></li> "faq"
{{/if}} }}</LinkTo></li>
{{#if this.site.tos_url}} {{/if}}
<li class="nav-item-tos"><LinkTo @route="tos">{{i18n {{#if this.site.tos_url}}
"tos" <li class="nav-item-tos"><LinkTo @route="tos">{{i18n
}}</LinkTo></li> "tos"
{{/if}} }}</LinkTo></li>
{{#if this.site.privacy_policy_url}} {{/if}}
<li class="nav-item-privacy"><LinkTo @route="privacy">{{i18n {{#if this.site.privacy_policy_url}}
"privacy" <li class="nav-item-privacy"><LinkTo @route="privacy">{{i18n
}}</LinkTo></li> "privacy"
{{/if}} }}</LinkTo></li>
</ul> {{/if}}
<AboutPage @model={{this.model}} /> </ul>
<AboutPage @model={{this.model}} />
</div>
</div> </div>
</div> </section>
</section> </PluginOutlet>