diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 15 |
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> |