Revert "new GSalvadi audio theme, created by NomindTR"

This commit is contained in:
Alys
2015-06-18 07:39:38 +10:00
parent 910fc2f213
commit 30a091e14e
23 changed files with 2 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -85,7 +85,6 @@
"audioTheme_off": "Off", "audioTheme_off": "Off",
"audioTheme_danielTheBard": "Daniel The Bard", "audioTheme_danielTheBard": "Daniel The Bard",
"audioTheme_wattsTheme": "Watts' Theme", "audioTheme_wattsTheme": "Watts' Theme",
"audioTheme_gokulTheme": "Gokul Theme",
"askQuestion": "Ask a Question", "askQuestion": "Ask a Question",
"reportBug": "Report a Bug", "reportBug": "Report a Bug",
"contributeToHRPG": "Contribute to HabitRPG", "contributeToHRPG": "Contribute to HabitRPG",

View File

@@ -311,7 +311,7 @@ var UserSchema = new Schema({
skin: {type:String, 'default':'915533'}, skin: {type:String, 'default':'915533'},
shirt: {type: String, 'default': 'blue'}, shirt: {type: String, 'default': 'blue'},
timezoneOffset: Number, timezoneOffset: Number,
sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme', 'gokulTheme']}, sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme']},
language: String, language: String,
automaticAllocation: Boolean, automaticAllocation: Boolean,
allocationMode: {type:String, enum: ['flat','classbased','taskbased'], 'default': 'flat'}, allocationMode: {type:String, enum: ['flat','classbased','taskbased'], 'default': 'flat'},

View File

@@ -220,7 +220,7 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
div div
ul.toolbar-submenu(ng-click='expandMenu(null)') ul.toolbar-submenu(ng-click='expandMenu(null)')
// Using [{k,v}] instead of {k:v,k:v} to maintain order ('off' at top) // Using [{k,v}] instead of {k:v,k:v} to maintain order ('off' at top)
for theme in ['off','danielTheBard', 'wattsTheme', 'gokulTheme'] for theme in ['off','danielTheBard', 'wattsTheme']
li li
a(ng-class="{'bg-primary':user.preferences.sound=='#{theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme) a(ng-class="{'bg-primary':user.preferences.sound=='#{theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)