Merge pull request #5917 from Alys/audio-LuneFox-2015-09-09
new audio theme from LuneFox
This commit is contained in:
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.
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.
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
@@ -91,6 +91,7 @@
|
||||
"audioTheme_danielTheBard": "Daniel The Bard",
|
||||
"audioTheme_wattsTheme": "Watts' Theme",
|
||||
"audioTheme_gokulTheme": "Gokul Theme",
|
||||
"audioTheme_luneFoxTheme": "LuneFox's Theme",
|
||||
"askQuestion": "Ask a Question",
|
||||
"reportBug": "Report a Bug",
|
||||
"contributeToHRPG": "Contribute to Habitica",
|
||||
|
||||
@@ -319,7 +319,7 @@ var UserSchema = new Schema({
|
||||
skin: {type:String, 'default':'915533'},
|
||||
shirt: {type: String, 'default': 'blue'},
|
||||
timezoneOffset: Number,
|
||||
sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme', 'gokulTheme']},
|
||||
sound: {type:String, 'default':'off', enum: ['off', 'danielTheBard', 'gokulTheme', 'luneFoxTheme', 'wattsTheme']},
|
||||
language: String,
|
||||
automaticAllocation: Boolean,
|
||||
allocationMode: {type:String, enum: ['flat','classbased','taskbased'], 'default': 'flat'},
|
||||
|
||||
@@ -218,7 +218,7 @@ nav.toolbar(ng-controller='MenuCtrl')
|
||||
div
|
||||
ul.toolbar-submenu
|
||||
// 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', 'gokulTheme', 'luneFoxTheme', 'wattsTheme']
|
||||
li
|
||||
a(ng-class="{'bg-primary':user.preferences.sound === '# {theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)
|
||||
ul.toolbar-controls
|
||||
|
||||
Reference in New Issue
Block a user