summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-07 16:38:12 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-07 16:51:25 +0200
commit5bf17607b391257ced9339b969c5da6164ead495 (patch)
treebc1d376b3bf5068639e7601644effe024bcfb52f
parent3dd619d88bc8bb91cf7cf532ea646e11d5176abc (diff)
downloadnextcloud-server-5bf17607b391257ced9339b969c5da6164ead495.tar.gz
nextcloud-server-5bf17607b391257ced9339b969c5da6164ead495.zip
Fix layout of success message and text
-rw-r--r--apps/updatenotification/lib/Controller/AdminController.php2
-rw-r--r--apps/updatenotification/templates/admin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php
index ebb3fa642f1..9f10f1b32f2 100644
--- a/apps/updatenotification/lib/Controller/AdminController.php
+++ b/apps/updatenotification/lib/Controller/AdminController.php
@@ -128,7 +128,7 @@ class AdminController extends Controller implements ISettings {
public function setChannel($channel) {
\OCP\Util::setChannel($channel);
$this->config->setAppValue('core', 'lastupdatedat', 0);
- return new DataResponse(['status' => 'success', 'data' => ['message' => $this->l10n->t('Updated channel')]]);
+ return new DataResponse(['status' => 'success', 'data' => ['message' => $this->l10n->t('Channel updated')]]);
}
/**
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index 3c3d6cbd4cd..68ef1d423b4 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -32,7 +32,7 @@
</option>
<?php } ?>
</select>
- <span id="channel_save_msg"></span>
+ <span id="channel_save_msg" class="msg"></span>
</p>
<p>
<em><?php p($l->t('You can always update to a newer version / experimental channel. But you can never downgrade to a more stable channel.')); ?></em>