mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Display change_url button only if feature available
depends on https://github.com/YunoHost/yunohost/pull/402
This commit is contained in:
parent
45a9250b7f
commit
c8c97204cb
1 changed files with 9 additions and 7 deletions
|
@ -48,13 +48,15 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="container">
|
{{#if change_url}}
|
||||||
<p>{{t 'app_info_changeurl_desc' settings.domain}}</p>
|
<div class="container">
|
||||||
<a href="#/apps/{{settings.id}}/changeurl" class="btn btn-info slide">
|
<p>{{t 'app_info_changeurl_desc' settings.domain}}</p>
|
||||||
<span class="fa-exchange"></span> {{t 'app_change_url'}}
|
<a href="#/apps/{{settings.id}}/changeurl" class="btn btn-info slide">
|
||||||
</a>
|
<span class="fa-exchange"></span> {{t 'app_change_url'}}
|
||||||
</div>
|
</a>
|
||||||
<hr>
|
</div>
|
||||||
|
<hr>
|
||||||
|
{{/if}}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>{{t 'app_info_uninstall_desc'}}</p>
|
<p>{{t 'app_info_uninstall_desc'}}</p>
|
||||||
<a href="#/apps/{{settings.id}}/uninstall" class="btn btn-danger slide back">
|
<a href="#/apps/{{settings.id}}/uninstall" class="btn btn-danger slide back">
|
||||||
|
|
Loading…
Reference in a new issue