{{#if model.er_publisert}}
  <a class="item" {{action "unpublish"}}>
    <i class="hide icon"></i> Avpubliser
  </a>
  {{#ui-popup on="hover" position="bottom center"}}
    Hytta er publisert, klikk for å avpublisere.
  {{/ui-popup}}
{{else}}
  <a class="item" {{action "publish"}}>
    <i class="unhide icon"></i> Publiser
  </a>
  {{#ui-popup on="hover" position="bottom center"}}
    Hytta er ikke publisert, klikk for å publisere.
  {{/ui-popup}}
{{/if}}
<a class="item {{if model.isSaving "loading"}}" {{action "save"}}>
  <i class="save icon"></i> Lagre
</a>

{{#if model.er_publisert}}
  <div class="ui simple dropdown item">
    <span class="ui green circular label" style="margin-right: .7em;"><i class="cloud icon"></i></span> Publisert
    <i class="dropdown icon"></i>
    <div class="menu">
      <a class="item" {{action "unpublish"}}>Avpubliser</a>
    </div>
  </div>
{{else}}
  <div class="ui simple dropdown item">
    <span class="ui yellow circular label" style="margin-right: .7em;"><i class="cloud icon"></i></span> Ikke publisert
    <i class="dropdown icon"></i>
    <div class="menu">
      <a class="item" {{action "publish"}}>Publiser</a>
    </div>
  </div>
{{/if}}
<a class="item {{if model.isSaving "loading"}}" {{action "save"}} data-test-action="save">
  <i class="cloud icon"></i> Lagre
</a>

Improve publish toggle button design
Improve publish toggle button design
