From 0742db7732face70b61a2914081a247501fcbcc5 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 28 Jul 2016 16:40:40 +0100 Subject: [PATCH] enable validation option only for beta programme users --- services/web/app/views/project/editor/pdf.jade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/services/web/app/views/project/editor/pdf.jade b/services/web/app/views/project/editor/pdf.jade index b2d821f753..832134c0d5 100644 --- a/services/web/app/views/project/editor/pdf.jade +++ b/services/web/app/views/project/editor/pdf.jade @@ -36,11 +36,12 @@ div.full-size.pdf(ng-controller="PdfController") i.fa.fa-fw(ng-class="{'fa-check': draft}") |  #{translate("fast")}  span.subdued [draft] - li.dropdown-header #{translate("file_checks")} - li - a(href, ng-click="recompile({check:true})") - i.fa.fa-fw() - |  #{translate("syntax check")} + if user.betaProgram + li.dropdown-header #{translate("file_checks")} + li + a(href, ng-click="recompile({check:true})") + i.fa.fa-fw() + |  #{translate("syntax_check")} a( href ng-click="stop()"