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 Heroes
|
||||
th Chieftain
|
||||
th Type
|
||||
th
|
||||
tbody
|
||||
if myClans.length
|
||||
|
@ -75,6 +76,7 @@ block content
|
|||
a(href="/user/#{clan.get('ownerID')}")= idNameMap[clan.get('ownerID')]
|
||||
else
|
||||
a(href="/user/#{clan.get('ownerID')}") Anoner
|
||||
td= clan.get('type')
|
||||
td
|
||||
if clan.get('ownerID') !== me.id
|
||||
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}") Leave Clan
|
||||
|
|
Loading…
Reference in a new issue