mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:12:27 +00:00
Merge pull request #140 from sharelatex/as-fix-v1-settings-access
Check presence of overleaf settings in template
This commit is contained in:
commit
154b03ab13
1 changed files with 5 additions and 4 deletions
|
@ -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}}
|
Loading…
Reference in a new issue