Merge pull request #140 from sharelatex/as-fix-v1-settings-access

Check presence of overleaf settings in template
This commit is contained in:
Alasdair Smith 2017-11-20 16:00:02 +00:00 committed by GitHub
commit 154b03ab13

View file

@ -1,6 +1,7 @@
.col-xs-8 .col-xs-8
span.v1-badge(aria-label=translate("v1_badge")) span.v1-badge(aria-label=translate("v1_badge"))
span span
if settings.overleaf && settings.overleaf.host
a.projectName( a.projectName(
href=settings.overleaf.host + "/{{project.id}}" href=settings.overleaf.host + "/{{project.id}}"
stop-propagation="click" stop-propagation="click"