Added watts themes to audio choices

This commit is contained in:
Blade Barringer 2015-01-23 14:53:30 -06:00
parent 042f2fbceb
commit de59c76609
22 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

View file

BIN
public/audio/wattsTheme/Daily.mp3 Executable file

Binary file not shown.

BIN
public/audio/wattsTheme/Daily.ogg Executable file

Binary file not shown.

BIN
public/audio/wattsTheme/Death.mp3 Executable file

Binary file not shown.

BIN
public/audio/wattsTheme/Death.ogg Executable file

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.

BIN
public/audio/wattsTheme/ToDo.mp3 Executable file

Binary file not shown.

BIN
public/audio/wattsTheme/ToDo.ogg Executable file

Binary file not shown.

View file

@ -281,7 +281,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']},
sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme']},
language: String,
automaticAllocation: Boolean,
allocationMode: {type:String, enum: ['flat','classbased','taskbased'], 'default': 'flat'},

View file

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