mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Show clan type in My Clans list
This commit is contained in:
parent
2b29e755fe
commit
2f8831ea72
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@ block content
|
||||||
th Clan Name
|
th Clan Name
|
||||||
th Heroes
|
th Heroes
|
||||||
th Chieftain
|
th Chieftain
|
||||||
|
th Type
|
||||||
th
|
th
|
||||||
tbody
|
tbody
|
||||||
if myClans.length
|
if myClans.length
|
||||||
|
@ -75,6 +76,7 @@ block content
|
||||||
a(href="/user/#{clan.get('ownerID')}")= idNameMap[clan.get('ownerID')]
|
a(href="/user/#{clan.get('ownerID')}")= idNameMap[clan.get('ownerID')]
|
||||||
else
|
else
|
||||||
a(href="/user/#{clan.get('ownerID')}") Anoner
|
a(href="/user/#{clan.get('ownerID')}") Anoner
|
||||||
|
td= clan.get('type')
|
||||||
td
|
td
|
||||||
if clan.get('ownerID') !== me.id
|
if clan.get('ownerID') !== me.id
|
||||||
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}") Leave Clan
|
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}") Leave Clan
|
||||||
|
|
Loading…
Reference in a new issue