Pick public info from status object

This commit is contained in:
Johannes Zellner
2020-03-06 17:50:34 -08:00
parent 52a8081d0f
commit 34c8baa744
5 changed files with 13 additions and 21 deletions

View File

@@ -50,7 +50,7 @@
<div class="col-md-12" style="text-align: center;">
<img width="128" height="128" style="margin-top: -84px" src="<%= apiOrigin %>/api/v1/cloudron/avatar"/>
<br/>
<h1><small>Welcome to</small> {{ cloudronName }}</h1>
<h1><small>Welcome to</small> {{ status.cloudronName || 'Cloudron' }}</h1>
<h3>Please setup your account</h3>
</div>
</div>
@@ -136,8 +136,8 @@
</div>
<footer class="text-center ng-cloak">
<span class="text-muted" ng-bind-html="footer | markdown2html"></span>
<span class="version">v{{version}}</span>
<span class="text-muted" ng-bind-html="status.footer | markdown2html"></span>
<span class="version">v{{status.version}}</span>
</footer>
</div>