]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix layout of success message and text
authorMorris Jobke <hey@morrisjobke.de>
Wed, 7 Sep 2016 14:38:12 +0000 (16:38 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 7 Sep 2016 14:51:25 +0000 (16:51 +0200)
apps/updatenotification/lib/Controller/AdminController.php
apps/updatenotification/templates/admin.php

index ebb3fa642f1e3ac92f3bd28600052e545db2da45..9f10f1b32f287cec89ba9a9abca366d1dcf6532f 100644 (file)
@@ -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')]]);
        }
 
        /**
index 3c3d6cbd4cd8bac61779582397c9ec72e3b901f4..68ef1d423b4de8f8874c6c83184eecbf546d624f 100644 (file)
@@ -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>