fix send form

This commit is contained in:
Matias Alejo Garcia 2014-12-30 10:37:04 -03:00
commit 6f94825d2d
5 changed files with 13 additions and 9 deletions

View file

@ -37,8 +37,8 @@
<div class="row ">
<div class="large-12 columns line-t m10t">
<div class="right size-12">
<span ng-if="!$root.wallet.isShared()">Personal Wallet</span>
<span ng-if="$root.wallet.isShared()">
<span ng-if="!isShared">Personal Wallet</span>
<span ng-if="isShared">
Multisignature wallet [{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
</span>
<span ng-if="$root.wallet.isTestnet()"> in TESTNET</span>
@ -50,7 +50,7 @@
</div>
<div ng-show="$root.wallet.isShared()">
<div ng-show="isShared">
<div class="row">
<div class="large-12 columns">
<div class="panel oh">
@ -73,7 +73,7 @@
</div>
</div>
<div class="row" ng-if="$root.wallet.isShared()">
<div class="row" ng-if="isShared">
<!-- List of copayers -->
<div class="large-12 columns">
<div class="panel oh">

View file

@ -131,7 +131,8 @@
<small translate class="has-error" ng-show="sendForm.comment.$invalid && !sendForm.comment.$pristine">too long!</small>
</label>
<div class="input">
<textarea id="comment" ng-disabled="loading" name="comment" placeholder="{{($root.wallet.isShared() ? 'Leave a private message to your copayers' : 'Add a private comment to identify the transaction')}}" ng-maxlength="100" ng-model="_comment"></textarea>
<textarea id="comment" ng-disabled="loading" name="comment" ng-if="isShared" placeholder="Leave a private message to your copayers" ng-maxlength="100" ng-model="_comment"></textarea>
<textarea id="comment" ng-disabled="loading" name="comment" ng-if="!isShared" placeholder="Add a private comment to identify the transaction" ng-maxlength="100" ng-model="_comment"></textarea>
</div>
</div>
</div>