Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix layout of success message and text
  • Loading branch information
MorrisJobke committed Sep 7, 2016
commit 86bbea9b8cf1c2ed05c98d9178694ee6162995f1
2 changes: 1 addition & 1 deletion apps/updatenotification/lib/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function displayPanel() {
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')]]);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/updatenotification/templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down