Update clan copy to chieftain and heroes

This commit is contained in:
Matt Lott 2015-04-03 13:22:07 -07:00
parent 39990ee151
commit db1e8f0cb4
2 changed files with 10 additions and 11 deletions
app/templates/clans

View file

@ -6,7 +6,7 @@ block content
h1= clan.get('name')
if owner
p
span.spr Owner:
span.spr Chieftain:
a(href="/user/#{clan.get('ownerID')}")= owner.get('name')
if stats.averageLevel
p Average level: #{stats.averageLevel}
@ -22,7 +22,7 @@ block content
button.btn.btn-sm.btn-success.join-clan-btn Join Clan
if members
h3 Clan Members (#{members.length})
h3 Heroes (#{members.length})
table.table.table-striped.table-condensed
thead
tr
@ -41,4 +41,4 @@ block content
| #{memberAchievementsMap[member.id].length}
td
if isOwner && member.id !== clan.get('ownerID')
button.btn.btn-sm.btn-warning.remove-member-btn(data-id="#{member.id}") Remove Member
button.btn.btn-sm.btn-warning.remove-member-btn(data-id="#{member.id}") Remove Hero

View file

@ -2,11 +2,10 @@ extends /templates/base
block content
div
p
input.create-clan-name(type='text' placeholder='New clan name')
p
button.btn.btn-sm.btn-success.create-clan-btn Create New Clan
span.spr.spl
input.create-clan-name(type='text' placeholder='New clan name')
br
div(role='tabpanel')
ul.nav.nav-tabs(role='tablist')
@ -21,8 +20,8 @@ block content
thead
tr
th Clan Name
th Members
th Owner
th Heroes
th Chieftain
th
tbody
if publicClans.length
@ -50,8 +49,8 @@ block content
thead
tr
th Clan Name
th Members
th Owner
th Heroes
th Chieftain
th
tbody
if myClans.length