diff --git a/Gruntfile.js b/Gruntfile.js index 05979dbbe5..d778230751 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,6 +4,8 @@ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + git_changelog: { minimal: { options: { @@ -81,7 +83,11 @@ module.exports = function(grunt) { } }, - nodemon: { dev: {} }, + nodemon: { + dev: { + script: '<%= pkg.main %>' + } + }, watch: { dev: { diff --git a/bower.json b/bower.json index a6de245fda..9bfab6d8d3 100644 --- a/bower.json +++ b/bower.json @@ -43,5 +43,8 @@ }, "devDependencies": { "angular-mocks": "~1.2.12" + }, + "resolutions": { + "angular": ">=1.2.0" } } diff --git a/views/options/profile.jade b/views/options/profile.jade index c9dc5b4575..18c0d72ef8 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -3,7 +3,7 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template') .col-md-4 h3=env.t('bodyBody') small - | 2 / + | 2 / = ' ' + env.t('locked') h5=env.t('bodySize') @@ -27,7 +27,7 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template') .col-md-4 h3=env.t('bodyHead') small - | 2 / + | 2 / = ' ' + env.t('locked') menu(type='list') // For special events code, see commit dfa27b3 @@ -86,7 +86,7 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template') .col-md-4 h3=env.t('bodySkin') small - | 2 / + | 2 / = ' ' + env.t('locked') // skin li.customize-menu diff --git a/views/options/social/create-group.jade b/views/options/social/create-group.jade index 53c8879a02..bd2563cd76 100644 --- a/views/options/social/create-group.jade +++ b/views/options/social/create-group.jade @@ -5,7 +5,7 @@ label.control-label(for='new-group-name') | {{text}}  =env.t('name') - input.form-control#new-group-name.input-medium.option-content(required, type='text', placeholder='{{text}} Name', ng-model='newGroup.name') + input.form-control#new-group-name.input-medium.option-content(required, type='text', placeholder=('{{text}} ' + env.t('name')), ng-model='newGroup.name') .form-group label(for='new-group-description')=env.t('description') textarea.form-control#new-group-description.option-content(cols='3', placeholder=env.t('description'), ng-model='newGroup.description') diff --git a/views/shared/header/avatar.jade b/views/shared/header/avatar.jade index abc1c2fff8..971560d5af 100644 --- a/views/shared/header/avatar.jade +++ b/views/shared/header/avatar.jade @@ -48,4 +48,5 @@ figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember( |  =env.t('lvl') | {{profile.stats.lvl}} + |  span.glyphicon.glyphicon-plus-sign(ng-show='profile.achievements.rebirths', tooltip=env.t('reborn', {reLevel: "{{profile.achievements.rebirthLevel}}"})) diff --git a/views/shared/header/menu.jade b/views/shared/header/menu.jade index 060cfd1f41..ff9cbbc285 100644 --- a/views/shared/header/menu.jade +++ b/views/shared/header/menu.jade @@ -26,11 +26,11 @@ nav.navbar.navbar-inverse(ng-controller='AuthCtrl',style='min-height:0px;margin- span.caret ul.dropdown-menu li - a(ui-sref='options.profile.avatar') Avatar + a(ui-sref='options.profile.avatar')=env.t('avatar') li - a(ui-sref='options.profile.stats') Stats + a(ui-sref='options.profile.stats')=env.t('stats') li - a(ui-sref='options.profile.profile') Profile + a(ui-sref='options.profile.profile')=env.t('profile') li a(ng-click='logout()') span.glyphicon.glyphicon-share-alt @@ -42,41 +42,41 @@ nav.navbar.navbar-inverse(ng-controller='AuthCtrl',style='min-height:0px;margin- span.caret ul.dropdown-menu li - a(ui-sref='options.social.tavern') Tavern + a(ui-sref='options.social.tavern')=env.t('tavern') li - a(ui-sref='options.social.party') Party + a(ui-sref='options.social.party')=env.t('party') li - a(ui-sref='options.social.guilds') Guilds + a(ui-sref='options.social.guilds')=env.t('guilds') li - a(ui-sref='options.social.challenges') Challenges + a(ui-sref='options.social.challenges')=env.t('challenges') li - a(ui-sref='options.social.hall') Hall + a(ui-sref='options.social.hall')=env.t('hall') li.dropdown a.dropdown-toggle(popover='Inventory',popover-placement='right',popover-trigger='mouseenter') span.glyphicon.glyphicon-gift.white span.caret ul.dropdown-menu li - a(ui-sref='options.inventory.drops') Market + a(ui-sref='options.inventory.drops')=env.t('market') li - a(ui-sref='options.inventory.pets') Pets + a(ui-sref='options.inventory.pets')=env.t('mounts') li - a(ui-sref='options.inventory.mounts') Mounts + a(ui-sref='options.inventory.mounts')=env.t('mounts') li - a(ui-sref='options.inventory.equipment') Equipment + a(ui-sref='options.inventory.equipment')=env.t('equipment') li.dropdown a.dropdown-toggle(popover='Settings',popover-placement='right',popover-trigger='mouseenter') span.glyphicon.glyphicon-wrench.white span.caret ul.dropdown-menu li - a(ui-sref='options.settings.settings') Site + a(ui-sref='options.settings.settings')=env.t('site') li - a(ui-sref='options.settings.api') API + a(ui-sref='options.settings.api')=env.t('API') li - a(ui-sref='options.settings.export') Export + a(ui-sref='options.settings.export')=env.t('export') li - a(ui-sref='options.settings.subscription') Subscription + a(ui-sref='options.settings.subscription')=env.t('subscription') li.dropdown a.dropdown-toggle(popover='Help',popover-placement='right',popover-trigger='mouseenter') span.glyphicon.glyphicon-question-sign.white