Do not show URL if app doesn't have one

This commit is contained in:
Kayou 2019-05-27 12:44:13 +02:00 committed by GitHub
parent fc34a743d9
commit 0fa24209ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,8 +25,10 @@
<dd>{{manifest.multi_instance}}</dd> <dd>{{manifest.multi_instance}}</dd>
<dt>{{t 'install_time'}}</dt> <dt>{{t 'install_time'}}</dt>
<dd>{{formatTime install_time day="numeric" month="long" year="numeric" hour="numeric" minute="numeric"}}</dd> <dd>{{formatTime install_time day="numeric" month="long" year="numeric" hour="numeric" minute="numeric"}}</dd>
{{#if settings.domain}}
<dt>{{t 'url'}}</dt> <dt>{{t 'url'}}</dt>
<dd><a href="https://{{settings.domain}}{{settings.path}}" target="_blank">https://{{settings.domain}}{{settings.path}}</a></dd> <dd><a href="https://{{settings.domain}}{{settings.path}}" target="_blank">https://{{settings.domain}}{{settings.path}}</a></dd>
{{/if}}
</dl> </dl>
</div> </div>
</div> </div>