diff --git a/app/src/renderer/components/staking/CardCandidate.vue b/app/src/renderer/components/staking/CardCandidate.vue index 30f42884d9..af34327271 100644 --- a/app/src/renderer/components/staking/CardCandidate.vue +++ b/app/src/renderer/components/staking/CardCandidate.vue @@ -8,17 +8,17 @@ transition(name='ts-card-candidate'): div(:class='cssClass') i.fa.fa-check-square-o(v-if='inCart' @click='rm(candidate)') i.fa.fa-square-o(v-else @click='add(candidate)') router-link(:to="{ name: 'candidate', params: { candidate: candidate.id }}") - | {{ candidate.keybaseID }} + | {{ candidate.pubkey.data }} .value.atoms.num.bar - span {{ num.prettyInt(candidate.atoms) }} + span {{ num.prettyInt(candidate.voting_power) }} .bar(:style='atomsCss') .value.atoms.num.bar.delegated(v-if='signedIn') - span {{ num.prettyInt(candidate.computed.delegatedAtoms) }} + span {{ num.prettyInt(candidate.computed.delegatedCoins) }} .bar(:style='delegatedAtomsCss') - .value.delegators.num + .value.shares.num span - i.fa.fa-user - | {{ num.prettyInt(candidate.delegators) }} + i.fa.pie-chart + | {{ num.prettyInt(candidate.shares) }} menu(v-if='signedIn') btn(theme='cosmos' v-if='inCart' icon='times' value='Remove' size='sm' @click.native='rm(candidate)') @@ -152,7 +152,7 @@ export default { span display block - + white-space nowrap text-overflow ellipsis overflow hidden diff --git a/app/src/renderer/components/staking/PageCandidate.vue b/app/src/renderer/components/staking/PageCandidate.vue index ccce0e5c8e..7530052ed6 100644 --- a/app/src/renderer/components/staking/PageCandidate.vue +++ b/app/src/renderer/components/staking/PageCandidate.vue @@ -8,17 +8,9 @@ page(:title='candidate.id') router-link(v-if='isMe' to='/nominate') Edit part(title="Description") text-block(:content="candidate.description") - part(title="Server Details") - text-block(:content="candidate.serverDetails") - part(title="Candidate Details") - list-item(dt='Commission' :dd='candidate.commissionPercent') - list-item(dt='Country' :dd='countryName(candidate.country)') - list-item(dt='Website' :dd='candidate.website') - list-item(dt='IP Address' :dd='candidate.ipAddress') part(title="Staking Details") - list-item(dt='Atoms' :dd='candidate.atoms') - list-item(dt='Delegators' :dd='candidate.computed.delegators') - list-item(dt='Slashes' :dd='candidate.computed.slashes.length') + list-item(dt='Voting Power' :dd='candidate.voting_power') + list-item(dt='Shares' :dd='candidate.shares')