summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorFelix A. Epp <work@felixepp.de>2017-01-23 16:29:16 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:01 +0200
commit5e5aa2eeebc6df41664ecb59f571a9f634ba8e66 (patch)
tree7332914a2cb8242daf0212ddfa3761b87dc71503 /settings/templates
parentc51c41b2af25d888dcc2276d50a4848519eddb92 (diff)
downloadnextcloud-server-5e5aa2eeebc6df41664ecb59f571a9f634ba8e66.tar.gz
nextcloud-server-5e5aa2eeebc6df41664ecb59f571a9f634ba8e66.zip
Fix uninstall in tabular view
Signed-off-by: Felix A. Epp <work@felixepp.de>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/apps.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 652dc38557d..e3e9ad97d6f 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -60,15 +60,15 @@ script(
<p><?php p($l->t('This app has an update available.')); ?></p>
</div>
<div class="warning hidden"></div>
+ <input class="update hidden" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
+ {{#if canUnInstall}}
+ <input class="uninstall" type="submit" value="<?php p($l->t('Uninstall')); ?>" data-appid="{{id}}" />
+ {{/if}}
{{#if active}}
<input class="enable" type="submit" data-appid="{{id}}" data-active="true" value="<?php p($l->t("Disable"));?>"/>
{{else}}
<input class="enable{{#if needsDownload}} needs-download{{/if}}" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
{{/if}}
- <input class="update hidden" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
- {{#if canUnInstall}}
- <input class="uninstall" type="submit" value="<?php p($l->t('Uninstall app')); ?>" data-appid="{{id}}" />
- {{/if}}
</div>
</div>
</script>