diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-08-20 11:14:30 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-08-20 11:14:30 +0200 |
commit | a2674b2b303c6b2a5935638af04f0e4a61afae24 (patch) | |
tree | 3d067ca9f3a187b99a9f5184586a8dd8653e043b /core/templates/update.admin.php | |
parent | b919ae96f093a927e83f9f114a34400a4095ea5e (diff) | |
download | nextcloud-server-a2674b2b303c6b2a5935638af04f0e4a61afae24.tar.gz nextcloud-server-a2674b2b303c6b2a5935638af04f0e4a61afae24.zip |
Additions to update page
Apps to update and to disable will always be shown.
Main title changes only when apps need updated, not core.
Added bullet style.
Exclude incompatible apps from updated apps list.
Diffstat (limited to 'core/templates/update.admin.php')
-rw-r--r-- | core/templates/update.admin.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php index 4e28aacf023..191f727df71 100644 --- a/core/templates/update.admin.php +++ b/core/templates/update.admin.php @@ -1,13 +1,14 @@ <div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>"> <div class="updateOverview"> <?php if ($_['isAppsOnlyUpgrade']) { ?> - <h2 class="title bold"><?php p($l->t('The following apps will be updated:')); ?></h2> + <h2 class="title bold"><?php p($l->t('Apps update required.')); ?></h2> <?php } else { ?> <h2 class="title bold"><?php p($l->t('%s will be updated to version %s.', array($_['productName'], $_['version']))); ?></h2> <?php } ?> <?php if (!empty($_['appsToUpgrade'])) { ?> <div class="infogroup"> + <span class="bold"><?php p($l->t('These apps will be updated:')); ?></span> <ul class="content appList"> <?php foreach ($_['appsToUpgrade'] as $appInfo) { ?> <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li> @@ -15,11 +16,11 @@ </ul> </div> <?php } ?> - <?php if (!empty($_['appList'])) { ?> + <?php if (!empty($_['incompatibleAppsList'])) { ?> <div class="infogroup"> - <span class="bold"><?php p($l->t('The following apps will be disabled:')) ?></span> + <span class="bold"><?php p($l->t('These incompatible apps will be disabled:')) ?></span> <ul class="content appList"> - <?php foreach ($_['appList'] as $appInfo) { ?> + <?php foreach ($_['incompatibleAppsList'] as $appInfo) { ?> <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li> <?php } ?> </ul> @@ -30,11 +31,9 @@ <?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?> </div> <?php } ?> - <?php if (!$_['isAppsOnlyUpgrade']) { ?> <div class="infogroup bold"> <?php p($l->t('Please make sure that the database, the config folder and the data folder have been backed up before proceeding.')) ?> </div> - <?php } ?> <input class="updateButton" type="button" value="<?php p($l->t('Start update')) ?>"> <div class="infogroup"> <?php p($l->t('To avoid timeouts with larger installations, you can instead run the following command from your installation directory:')) ?> |