Show clan type in My Clans list

This commit is contained in:
Matt Lott 2015-04-15 11:12:35 -07:00
parent 2b29e755fe
commit 2f8831ea72

View file

@ -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