mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add beta program badge on autocompile popover & setting
This commit is contained in:
parent
a69afae03d
commit
a3800a321b
2 changed files with 6 additions and 2 deletions
|
@ -101,7 +101,9 @@ div.full-size(
|
|||
ng-class="placement"
|
||||
)
|
||||
.popover-inner
|
||||
h3.popover-title #{translate("auto_compile")}
|
||||
h3.popover-title
|
||||
| #{translate("auto_compile")}
|
||||
span.beta-feature-badge
|
||||
.popover-content
|
||||
p #{translate("try_out_auto_compile_setting")}
|
||||
img(src="/img/onboarding/autocompile/setting-dropdown.png" width="100%")
|
||||
|
|
|
@ -28,7 +28,9 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
ul.dropdown-menu.dropdown-menu-left
|
||||
// Only show on beta program?
|
||||
if user.betaProgram
|
||||
li.dropdown-header #{translate("auto_compile")}
|
||||
li.dropdown-header
|
||||
| #{translate("auto_compile")}
|
||||
span.beta-feature-badge
|
||||
li
|
||||
a(href, ng-click="autocompile_enabled = true")
|
||||
i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}")
|
||||
|
|
Loading…
Reference in a new issue