mirror of
https://github.com/moparisthebest/mail
synced 2025-02-12 05:00:19 -05:00
Seperate ng-repeat and ng-class in writer address headers for ng-animate
This commit is contained in:
parent
c08ff4f287
commit
edbac5a379
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
.label {
|
.label {
|
||||||
margin-bottom: 0.2em;
|
margin-bottom: 0.2em;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
@ -13,15 +13,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<p field="to">
|
<p field="to">
|
||||||
<label>To:</label>
|
<label>To:</label>
|
||||||
<input ng-repeat="recipient in to track by $index" id="to{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(to, $index)" address-input="to" tabindex="1" ng-mouseover="getKeyId(recipient)" focus-me="state.writer.open && writerTitle !== 'Reply'">
|
<span ng-repeat="recipient in to track by $index">
|
||||||
|
<input id="to{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(to, $index)" address-input="to" tabindex="1" ng-mouseover="getKeyId(recipient)" focus-me="state.writer.open && writerTitle !== 'Reply'">
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p field="cc" ng-show="showCC === true">
|
<p field="cc" ng-show="showCC === true">
|
||||||
<label>Cc:</label>
|
<label>Cc:</label>
|
||||||
<input ng-repeat="recipient in cc track by $index" id="cc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(cc, $index)" address-input="cc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
<span ng-repeat="recipient in cc track by $index">
|
||||||
|
<input id="cc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(cc, $index)" address-input="cc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p field="bcc" ng-show="showBCC === true">
|
<p field="bcc" ng-show="showBCC === true">
|
||||||
<label>Bcc:</label>
|
<label>Bcc:</label>
|
||||||
<input ng-repeat="recipient in bcc track by $index" id="bcc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(bcc, $index)" address-input="bcc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
<span ng-repeat="recipient in bcc track by $index">
|
||||||
|
<input id="bcc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(bcc, $index)" address-input="bcc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div><!--/.mail-addresses-->
|
</div><!--/.mail-addresses-->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user