Fix #879: Admins can now add custom CSS from their pod settings

This commit is contained in:
Eliot Berriot 2019-07-03 11:06:13 +02:00
parent 78ab153734
commit 7897c8ac7f
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
5 changed files with 84 additions and 1 deletions

View file

@ -84,6 +84,7 @@ export default {
let federationLabel = this.$pgettext('Content/Admin/Menu', 'Federation')
let subsonicLabel = this.$pgettext('Content/Admin/Menu', 'Subsonic')
let statisticsLabel = this.$pgettext('Content/Admin/Menu', 'Statistics')
let uiLabel = this.$pgettext('Content/Admin/Menu', 'User Interface')
let errorLabel = this.$pgettext('Content/Admin/Menu', 'Error reporting')
return [
{
@ -134,6 +135,11 @@ export default {
id: "subsonic",
settings: ["subsonic__enabled"]
},
{
label: uiLabel,
id: "ui",
settings: ["ui__custom_css"]
},
{
label: statisticsLabel,
id: "statistics",