Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-09-07 23:46:54 +0300
committerGitHub <noreply@github.com>2016-09-07 23:46:54 +0300
commit83515c90e9d48f00aa1ebd5794cda243ac9006b4 (patch)
treedefccea7305eaa54d6635a754c104d3b1dadee39
parentafc928d1333114d2654e2d29aff5a76f23add40c (diff)
parent18005be13d8ae158af232ceaf8a10c0d3594a925 (diff)
Merge pull request #1313 from nextcloud/stable9-backport-1307
[stable9] Fix layout of success message and text
-rw-r--r--apps/updatenotification/controller/admincontroller.php2
-rw-r--r--apps/updatenotification/templates/admin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/controller/admincontroller.php b/apps/updatenotification/controller/admincontroller.php
index 8b85bac3025..8635b3f3e3d 100644
--- a/apps/updatenotification/controller/admincontroller.php
+++ b/apps/updatenotification/controller/admincontroller.php
@@ -148,7 +148,7 @@ class AdminController extends Controller {
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 e9de87304c5..67f693ce7ea 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -40,7 +40,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>