Remove beta program badge

This commit is contained in:
Alasdair Smith 2017-10-16 10:27:33 +01:00
parent 6c3ceb48df
commit e02c3bbb09
2 changed files with 3 additions and 7 deletions

View file

@ -101,9 +101,7 @@ div.full-size(
ng-class="placement"
)
.popover-inner
h3.popover-title
| #{translate("auto_compile")}
span.beta-feature-badge
h3.popover-title #{translate("auto_compile")}
.popover-content
p #{translate("try_out_auto_compile_setting")}
img(src="/img/onboarding/autocompile/setting-dropdown.png" width="100%")

View file

@ -26,11 +26,9 @@ div.full-size.pdf(ng-controller="PdfController")
)
span.caret
ul.dropdown-menu.dropdown-menu-left
// Only show on beta program?
// Only show if on beta program or part of rollout
if user.betaProgram || showAutoCompileOnboarding
li.dropdown-header
| #{translate("auto_compile")}
span.beta-feature-badge
li.dropdown-header #{translate("auto_compile")}
li
a(href, ng-click="autocompile_enabled = true")
i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}")