Skip to content

Commit

Permalink
Merge pull request #395 from thanhson1085/master
Browse files Browse the repository at this point in the history
add status to detail page
  • Loading branch information
thanhson1085 authored Dec 21, 2018
2 parents fbdb995 + 279e882 commit 2b87e95
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions app/components/candidates/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,18 @@
<div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xl-2 m-xl-0 tomo-info">
<p class="tomo-info__title">
<i class="tm-dot tomo-info__icon" />
<span class="tomo-info__text">Monitor</span>
<span
class="tomo-info__text">
Status
</span>
</p>
<p class="tomo-info__description">
{{ candidate.monitor }}
<p
:class="{ 'text-success': candidate.status === 'MASTERNODE',
'text-danger': candidate.status === 'SLASHED',
'text-danger': candidate.status === 'RESIGNED' }"
class="tomo-info__description"
>
{{ candidate.status }}
</p>
</div>
<div
Expand Down Expand Up @@ -423,7 +431,7 @@ export default {
address: this.$route.params.address.toLowerCase(),
name: '',
balance: '',
status: 'active',
status: '',
cap: 0,
latestBlock: '',
latestSignedBlock: 0,
Expand Down

0 comments on commit 2b87e95

Please sign in to comment.