2018-05-25 15:36:23 +00:00
|
|
|
{{#basic-dropdown-hover horizontalPosition="auto-left" verticalPosition="below" as |d|}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{#d.trigger tagName=(if (eq type "replication") "span" "button") class=(if (eq type "replication") "" "button is-transparent")}}
|
|
|
|
{{#if (eq type "user")}}
|
|
|
|
<div class="status-menu-user-trigger">
|
|
|
|
{{i-con
|
|
|
|
glyph=glyphName
|
|
|
|
class="has-text-dark-grey auto-width"
|
2018-06-26 21:35:47 +00:00
|
|
|
size=18
|
2018-04-03 14:16:57 +00:00
|
|
|
aria-label=ariaLabel
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
{{i-con glyph="chevron-down" aria-hidden="true" size=8 class="has-text-white auto-width is-status-chevron"}}
|
|
|
|
{{else if (eq type "replication")}}
|
|
|
|
<span class="link">
|
|
|
|
Replication
|
|
|
|
{{i-con glyph="chevron-down" aria-hidden="true" excludeIconClass=true size=8 class="auto-width is-status-chevron is-marginless"}}
|
|
|
|
</span>
|
|
|
|
{{else}}
|
|
|
|
{{i-con
|
|
|
|
glyph=glyphName
|
|
|
|
class="has-text-white auto-width"
|
2018-06-26 21:35:47 +00:00
|
|
|
size=20
|
2018-04-03 14:16:57 +00:00
|
|
|
aria-label=ariaLabel
|
|
|
|
}}
|
|
|
|
{{i-con glyph="chevron-down" aria-hidden="true" size=8 class="has-text-white auto-width is-status-chevron"}}
|
|
|
|
{{/if}}
|
|
|
|
{{/d.trigger}}
|
|
|
|
{{#d.content class=(concat "status-menu-content status-menu-content-" type)}}
|
|
|
|
{{partial partialName}}
|
|
|
|
{{/d.content}}
|
|
|
|
{{/basic-dropdown-hover}}
|