Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Make delegate name less timid - Closes #219
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed May 17, 2017
1 parent 38f4158 commit 1156786
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/app/components/forging/forging.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ div.offline-hide
md-button.md-raised.md-primary(disabled) Become Delegate
div(layout='column', layout-gt-xs='row', ng-if='$ctrl.delegate.username')
md-card(flex-gt-xs=100, layout-padding)
.info-panel.info-panel-grey
span.title {{$ctrl.delegate.username}}
span.pull-right {{$ctrl.statistics.total | lsk | number:2 }} LSK Earned
md-card-title
md-card-title-text
span.md-title {{$ctrl.delegate.username}}
span(md-position-mode='target-right target')
span {{$ctrl.statistics.total | lsk | number:2 }} LSK Earned
md-content(layout='column', layout-gt-xs='row', ng-if='$ctrl.delegate.username')
md-card(flex-50, flex-gt-xs=25, layout-padding)
.info-panel.info-panel-grey
Expand Down Expand Up @@ -45,7 +47,7 @@ div.offline-hide
md-card(layout='column', ng-if='$ctrl.delegate.username')
md-card-title
md-card-title-text
spa.md-title Forged Blocks
span.md-title Forged Blocks
span(md-position-mode='target-right target', ng-if='$ctrl.blocks.length === 0 && $ctrl.blocksLoaded')
span You have not forged any blocks yet.
md-menu(md-position-mode='target-right target', ng-if='$ctrl.blocks.length')
Expand Down
7 changes: 5 additions & 2 deletions src/app/components/top/top.pug
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
md-content(layout='column', layout-gt-xs='row')
md-card.offline-hide(flex-gt-xs=33)
md-card-content(layout='column', layout-align='center center')
md-card-content(layout='column', layout-align='center center', ng-if='!$ctrl.account.get().isDelegate')
span.md-title.title Address
.address.value {{ $ctrl.account.get().address }}
small.username(ng-if='$ctrl.account.get().isDelegate') {{ $ctrl.account.get().username }}
md-card-content(layout='column', layout-align='center center', ng-if='$ctrl.account.get().isDelegate')
span.md-title.title Delegate
.address.value {{ $ctrl.account.get().username }}
small.username {{ $ctrl.account.get().address }}
md-card.peer(flex-gt-xs=33)
md-card-content(layout='column', layout-align='center center')
span.status
Expand Down

0 comments on commit 1156786

Please sign in to comment.