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

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>
<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>