Check presence of overleaf settings

This commit is contained in:
Alasdair Smith 2017-11-20 15:55:00 +00:00
parent 1a8a915116
commit 5bb46a930a

View file

@ -1,10 +1,11 @@
.col-xs-8
span.v1-badge(aria-label=translate("v1_badge"))
span
a.projectName(
href=settings.overleaf.host + "/{{project.id}}"
stop-propagation="click"
) {{project.name}}
if settings.overleaf && settings.overleaf.host
a.projectName(
href=settings.overleaf.host + "/{{project.id}}"
stop-propagation="click"
) {{project.name}}
.col-xs-4
span.last-modified {{project.lastUpdated | formatDate}}