Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Remove compact view toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
adgad committed Oct 24, 2017
1 parent 1b86a6e commit 771242f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions components/n-ui/header/partials/drawer/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,6 @@
</li>
{{/each}}
{{/if}}

{{#unless @root.anon.userIsAnonymous}}
{{#if @root.flags.compactView}}
{{#ifEquals @root.__name "front-page"}}
{{#ifEquals @root.viewStyle "compact"}}
<li class="o-header__drawer-menu-item" data-trackable="viewtoggle">
<a class="o-header__drawer-menu-link" href="viewtoggle/standard" data-trackable="standard">Turn off compact homepage</a>
</li>
{{else}}
<li class="o-header__drawer-menu-item">
<a class="o-header__drawer-menu-link" href="/viewtoggle/compact" data-trackable="compact">Turn on compact homepage</a>
</li>
{{/ifEquals}}
{{/ifEquals}}
{{/if}}
{{/unless}}
</ul>

<ul class="o-header__drawer-menu-list">
Expand Down

0 comments on commit 771242f

Please sign in to comment.