mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Update hall.jade
line 47!
This commit is contained in:
parent
098247233f
commit
9f56426472
1 changed files with 24 additions and 24 deletions
|
|
@ -2,10 +2,10 @@ script(type='text/ng-template', id='partials/options.social.hall.html')
|
|||
ul.nav.nav-tabs
|
||||
li(ng-class="{ active: $state.includes('options.social.hall.heroes') }")
|
||||
a(ui-sref='options.social.hall.heroes')
|
||||
| Hall of Heroes
|
||||
=env.t('hallHeroes')
|
||||
li(ng-class="{ active: $state.includes('options.social.hall.patrons') }")
|
||||
a(ui-sref='options.social.hall.patrons')
|
||||
| Hall of Patrons
|
||||
=env.t('hallPatrons')
|
||||
|
||||
.tab-content
|
||||
.tab-pane.active
|
||||
|
|
@ -13,30 +13,30 @@ script(type='text/ng-template', id='partials/options.social.hall.html')
|
|||
|
||||
script(type='text/ng-template', id='partials/options.social.hall.heroes.html')
|
||||
div.well(ng-if='user.contributor.admin')
|
||||
h2 Reward User
|
||||
h2=env.t('rewardUser')
|
||||
form.form-horizontal(ng-submit='loadHero(_heroID)')
|
||||
.-options
|
||||
.option-group.option-large
|
||||
input.option-content(type='text', ng-model='_heroID', placeholder='UUID')
|
||||
button.btn(type='submit') Load User
|
||||
input.option-content(type='text', ng-model='_heroID', placeholder=env.t('UUID'))
|
||||
button.btn(type='submit')=env.t('loadUser')
|
||||
form.form-horizontal(ng-show='hero', ng-submit='saveHero(hero)')
|
||||
h3 {{hero.profile.name}}
|
||||
.-options
|
||||
.control-group.option-large
|
||||
input.option-content(type='text', ng-model='hero.contributor.text', placeholder='Contributor Title (eg, "Blacksmith")')
|
||||
input.option-content(type='text', ng-model='hero.contributor.text', placeholder=env.t('conTitle'))
|
||||
.control-group.option-medium
|
||||
input.option-content(type='number', step="any", ng-model='hero.contributor.level')
|
||||
span.input-suffix Contrib Level
|
||||
span.input-suffix =env.t('conLevel')
|
||||
br
|
||||
small [1-7] this determines which items, pets, and mounts are available. Also determines name-tag coloring.
|
||||
a(target='_blank', href='https://trello.com/c/wkFzONhE/277-contributor-gear') More details.
|
||||
small=env.t('conText')
|
||||
a(target='_blank', href='https://trello.com/c/wkFzONhE/277-contributor-gear')=env.t('moreDetails')
|
||||
.control-group.option-large
|
||||
textarea.option-content(style='height:15em;', placeholder='Contributions', ng-model='hero.contributor.contributions')
|
||||
textarea.option-content(style='height:15em;', placeholder=env.t('contributions'), ng-model='hero.contributor.contributions')
|
||||
//-include ../../shared/formatting-help
|
||||
.control-group.option-medium
|
||||
label.checkbox
|
||||
input(type='checkbox', ng-model='hero.contributor.admin')
|
||||
| Admin
|
||||
=env.t('admin')
|
||||
|
||||
hr
|
||||
|
||||
|
|
@ -44,30 +44,30 @@ script(type='text/ng-template', id='partials/options.social.hall.heroes.html')
|
|||
input.option-content(type='number', step="any", ng-model='hero.balance')
|
||||
span.input-suffix Balance
|
||||
p
|
||||
small `user.balance` is in USD, <em>not</em> in Gems. Aka, if this number is 1, it means 4 gems. Only use this option when manually granting gems to players, don't use it when granting contributor levels. Contrib levels will automatically add 2G/lvl.
|
||||
small `user.balance` + =env.t('USD1') + '<em>' + =env.t('not') + '</em>' =env.t('USD2')
|
||||
|
||||
.control-group.option-medium
|
||||
label.checkbox
|
||||
input(type='checkbox', ng-model='hero.purchased.ads')
|
||||
| Hide Ads
|
||||
=env.t('hideads')
|
||||
|
||||
// h4 Backer Status
|
||||
// Add backer stuff like tier, disable adds, etcs
|
||||
button.btn-primary(type='submit') Save
|
||||
button.btn-primary(type='submit')=env.t('save')
|
||||
|
||||
|
||||
table.table.table-striped
|
||||
tr
|
||||
thead
|
||||
tr
|
||||
th Name
|
||||
th(ng-if='user.contributor.admin') UUID
|
||||
th Contrib Level
|
||||
th Title
|
||||
th Contributions
|
||||
th =env.t('name')
|
||||
th(ng-if='user.contributor.admin')=env.t('UUID')
|
||||
th =env.t('conLevel')
|
||||
th =env.t('title')
|
||||
th =env.t('contributions')
|
||||
tr(ng-repeat='hero in heroes')
|
||||
td
|
||||
span(ng-if='hero.contributor.admin',popover='Game Master',popover-trigger='mouseenter',popover-placement='right')
|
||||
span(ng-if='hero.contributor.admin',popover=env.t('gamemaster'),popover-trigger='mouseenter',popover-placement='right')
|
||||
a.label(class='label-contributor-{{hero.contributor.level}}', ng-class='{"label-npc": hero.backer.npc}', ng-click='clickMember(hero._id, true)')
|
||||
| {{hero.profile.name}}
|
||||
i.icon-star.icon-white
|
||||
|
|
@ -84,11 +84,11 @@ script(type='text/ng-template', id='partials/options.social.hall.patrons.html')
|
|||
tr
|
||||
thead
|
||||
tr
|
||||
th Name
|
||||
th(ng-if='user.contributor.admin') UUID
|
||||
th Backer Tier
|
||||
th =env.t('name')
|
||||
th(ng-if='user.contributor.admin')=env.t('UUID')
|
||||
th =env.t('backertier')
|
||||
tr(ng-repeat='patron in patrons')
|
||||
td
|
||||
a.label(class='label-contributor-{{patron.contributor.level}}', ng-class='{"label-npc": patron.backer.npc}', ng-click='clickMember(patron._id, true)') {{patron.profile.name}}
|
||||
td(ng-if='user.contributor.admin') {{patron._id}}
|
||||
td {{patron.backer.tier}}
|
||||
td {{patron.backer.tier}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue