summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-23 13:08:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-23 13:11:08 +0200
commit3f740966dcd9f65b0c9582e25be596ad69019fac (patch)
tree4addb6f00bd30d5e95cb2fe70146bea504a45deb /apps/updatenotification/templates
parentb4f36d44c43aac0efdc6c70ff8e46473341a9bfe (diff)
downloadnextcloud-server-3f740966dcd9f65b0c9582e25be596ad69019fac.tar.gz
nextcloud-server-3f740966dcd9f65b0c9582e25be596ad69019fac.zip
Revert "Show an update button instead of the updater"
This reverts commit 202ae42506e9bbb167889735b2c56ccebace594b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/updatenotification/templates')
-rw-r--r--apps/updatenotification/templates/admin.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index 0dd8aec4a04..68ef1d423b4 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -16,9 +16,7 @@
<form id="oca_updatenotification_section" class="followupsection">
<?php if($isNewVersionAvailable === true): ?>
<strong><?php p($l->t('A new version is available: %s', [$newVersionString])); ?></strong>
- <?php if ($_['downloadLink']): ?>
- <a href="<?php p($_['downloadLink']); ?>" class="button"><?php p($l->t('Download now')) ?></a>
- <?php endif; ?>
+ <input type="button" id="oca_updatenotification_button" value="<?php p($l->t('Open updater')) ?>">
<?php else: ?>
<strong><?php print_unescaped($l->t('Your version is up to date.')); ?></strong>
<span class="icon-info svg" title="<?php p($l->t('Checked on %s', [$lastCheckedDate])) ?>"></span>