summaryrefslogtreecommitdiffstats
path: root/client/components/settings/settingHeader.jade
blob: c2d4db3a295a8fb39f81c013d945494d82b61c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
template(name="settingHeaderBar")
  h1.header-setting-menu
    span {{_ 'admin-panel'}}

  .setting-header-btns.left
    unless isMiniScreen
      unless isSandstorm
        if currentUser
          a.setting-header-btn.settings(href="{{pathFor 'setting'}}")
            i.fa(class="fa-cog")
            span {{_ 'settings'}}

          a.setting-header-btn.people(href="{{pathFor 'people'}}")
            i.fa(class="fa-users")
            span {{_ 'people'}}

          a.setting-header-btn.informations(href="{{pathFor 'information'}}")
            i.fa(class="fa-info-circle")
            span {{_ 'info'}}

        else
          a.setting-header-btn.js-log-in(
            title="{{_ 'log-in'}}")
            i.fa.fa-sign-in
            span {{_ 'log-in'}}