(chore) Disable new ballot type, enable regular yes / no ballot.

This commit is contained in:
Gabriel Rodriguez Alsina 2018-08-16 11:50:52 -03:00
parent e30e52babc
commit e33c118c21
2 changed files with 10 additions and 9 deletions

View File

@ -449,8 +449,8 @@ export class BallotCard extends React.Component {
</div>
</div>
</div>
{/* Send / Burn / Freeze */}
<div className="ballots-i-scale">
{/* TODO: Send / Burn / Freeze */}
{/* <div className="ballots-i-scale">
<div className="ballots-i-scale-column ballots-i-scale-column-3">
<button
className="btn btn-success ballots-i--vote_btn xl m-r-20"
@ -508,9 +508,9 @@ export class BallotCard extends React.Component {
</div>
</div>
</div>
</div>
</div> */}
{/* No / yes */}
{/* <div className="ballots-i-scale">
<div className="ballots-i-scale">
<div className="ballots-i-scale-column">
<button
type="button"
@ -546,7 +546,7 @@ export class BallotCard extends React.Component {
Yes
</button>
</div>
</div> */}
</div>
<div className="info-container">
<div className="info info-minimum">
Minimum {threshold} from {contractsStore.validatorsLength} validators are required to pass the proposal

View File

@ -36,7 +36,7 @@ export class BallotKeysCard extends React.Component {
return (
<BallotCard votingType="votingToChangeKeys" votingState={votingState} id={id} pos={pos}>
{/* <div className="ballots-about-i ballots-about-i_action">
<div className="ballots-about-i ballots-about-i_action">
<div className="ballots-about-td ballots-about-td-title">
<p className="ballots-about-i--title">Action</p>
</div>
@ -62,8 +62,9 @@ export class BallotKeysCard extends React.Component {
{newPayoutKey}
</div>
</div>
{miningKeyDiv} */}
<div className="ballots-about-i ballots-about-i_proposed_receiver">
{miningKeyDiv}
{/* TODO: New ballot type */}
{/* <div className="ballots-about-i ballots-about-i_proposed_receiver">
<div className="ballots-about-td ballots-about-td-title">
<p className="ballots-about-i--title">Proposed Receiver</p>
</div>
@ -78,7 +79,7 @@ export class BallotKeysCard extends React.Component {
<div className="ballots-about-td ballots-about-td-value">
<p>10000 POA</p>
</div>
</div>
</div> */}
</BallotCard>
)
}