Fix layout of success message and text

This commit is contained in:
Morris Jobke 2016-09-07 16:38:12 +02:00
parent 3dd619d88b
commit 5bf17607b3
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class AdminController extends Controller implements ISettings {
public function setChannel($channel) { public function setChannel($channel) {
\OCP\Util::setChannel($channel); \OCP\Util::setChannel($channel);
$this->config->setAppValue('core', 'lastupdatedat', 0); $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')]]);
} }
/** /**

View File

@ -32,7 +32,7 @@
</option> </option>
<?php } ?> <?php } ?>
</select> </select>
<span id="channel_save_msg"></span> <span id="channel_save_msg" class="msg"></span>
</p> </p>
<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> <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>