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" ng-class="placement"
) )
.popover-inner .popover-inner
h3.popover-title h3.popover-title #{translate("auto_compile")}
| #{translate("auto_compile")}
span.beta-feature-badge
.popover-content .popover-content
p #{translate("try_out_auto_compile_setting")} p #{translate("try_out_auto_compile_setting")}
img(src="/img/onboarding/autocompile/setting-dropdown.png" width="100%") 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 span.caret
ul.dropdown-menu.dropdown-menu-left 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 if user.betaProgram || showAutoCompileOnboarding
li.dropdown-header li.dropdown-header #{translate("auto_compile")}
| #{translate("auto_compile")}
span.beta-feature-badge
li li
a(href, ng-click="autocompile_enabled = true") a(href, ng-click="autocompile_enabled = true")
i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}") i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}")