summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-11-25 19:52:04 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-11-25 19:52:22 +0100
commit79736eb1cf6abacb2b79c8b8f8ca52d1cfcc6715 (patch)
tree46831c06aa2e7577e091e4d5109371a56718a844 /templates
parent052178a79f9099d1ce3c36e56334cdc15911ef09 (diff)
fix tests
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php
index 9f2a815ac..f4eac5089 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -122,7 +122,20 @@ style('news', 'admin');
<p><input type="text" name="news-explore-url"
value="<?php p($_['exploreUrl']); ?>"></p>
</div>
+ <div class="form-line">
+ <p>
+ <label for="news-migrate">
+ <?php p($l->t('Migrate data')); ?>
+ </label>
+ </p>
+ <p><em><?php p($l->t('Migrates existing data after updating from versions prior to 7.0.0')); ?></em></p>
+ <p><em class="notice"><?php p($l->t(
+ 'This takes about 1 minute per user. For bigger installations use ' .
+ 'this console command to prevent timeouts:')); ?> php -f owncloud/occ news:migrate
+ </em></p>
+ <p><button type="button" name="news-migrate" id="news-migrate"><?php p($l->t('Migrate data')); ?></button></p>
+ </div>
<div id="news-saved-message">
<span class="msg success"><?php p($l->t('Saved')); ?></span>
</div>
-</div> \ No newline at end of file
+</div>