walnut.js/lib/com.daplie.walnut.current/views/lds-account.html

28 lines
3.9 KiB
HTML
Raw Permalink Normal View History

<div class="auth-modal">
<div class="modal-header">
<h2 class="modal-title">Verify Membership Record</h2>
<div ng-if="LAC.flashMessage"><br/>
<div ng-class="[ LAC.flashMessageClass ]" class="alert"><span ng-bind="LAC.flashMessage"></span></div>
</div>
</div>
<div class="modal-body">
<h3>{{ LAC.me.name }} {{ LAC.me.surnames.join(" ") }}</h3><span ng-if="1 == LAC.me.callings.length">{{ LAC.me.callings[0].title }}</span><span ng-if="LAC.me.callings.length &gt; 1"><span ng-repeat="calling in LAC.me.callings">{{ calling.title }}</span></span><span ng-if="!LAC.me.callings.length"><i>(no ward calling assigned)</i></span><br/><span ng-if="LAC.me.phones.length &gt; 1"><span ng-repeat="phone in LAC.me.phones"><a ng-href="tel:{{ phone.value }}">{{ phone.value }}</a><br/></span></span><span ng-if="LAC.me.phones.length &lt;= 1"><span><a ng-href="tel:{{ LAC.me.phones[0].value }}">{{ LAC.me.phones[0].value }}</a></span></span><span ng-if="!LAC.me.phones.length">&lt;&lt; No Phone Number >></span><span ng-if="LAC.me.phones.length &lt;= 1"><br/></span><span ng-if="LAC.me.emails.length &gt; 1"><span ng-repeat="email in LAC.me.emails"><a ng-href="mailto:{{ email.value }}">{{ email.value }}</a><br/></span></span><span ng-if="1 == LAC.me.emails.length"><span><a ng-href="mailto:{{ LAC.me.emails[0].value }}">{{ LAC.me.emails[0].value }}</a></span></span><span ng-if="!LAC.me.emails.length">&lt;&lt; No Email Address >></span><span ng-if="LAC.me.emails.length &lt;= 1"><br/></span><span>{{ LAC.home.lines[0] || "<< No Street Address >>" }}</span><br/><span ng-if="LAC.home.lines[1]"><span>{{ LAC.home.lines[1] }}</span><br/></span><span>{{ LAC.home.city || "<< No City >>" }}, {{ LAC.home.state || "<< No State >>" }} {{ LAC.home.postalCode || "<< No Postal Code >>" }}</span><br/>
<h4>{{ LAC.ward.name || LAC.ward.meetinghouse.name }}</h4>
<p><span>({{ LAC.stake.name || LAC.stake.meetinghouse.name }})</span><br/><span>{{ LAC.ward.meetinghouse.address.street }} {{ LAC.ward.meetinghouse.address.city }}, {{ LAC.ward.meetinghouse.address.state }}</span><br/><i class="small">Sunday Services start at {{ LAC.ward.meetinghouse.hours }}</i><br/><span class="small"><i>Bishop {{ LAC.leaders.bishop.name }} {{ LAC.leaders.bishop.surnames.join(' ') }}</i><span>&#32;&#32;</span><span ng-if="LAC.leaders.bishop.phones[0].value"><a href="tel:{{ LAC.leaders.bishop.phones[0].value }}">{{ LAC.leaders.bishop.phones[0].value }}</a></span><span ng-if="!LAC.leaders.bishop.phones[0].value">&lt;&lt; No Phone Number >></span><span>&#32;&#32;</span><span ng-if="LAC.leaders.bishop.emails[0].value"><a href="mailto:{{ LAC.leaders.bishop.emails[0].value }}">{{ LAC.leaders.bishop.emails[0].value }}</a></span><span ng-if="!LAC.leaders.bishop.emails[0].value">&lt;&lt; No Email Address >></span></span></p>
<div class="modal-footer">
<div class="row">
<div class="col-xs-12 text-left">
<p><span>If any of the above information is</span><span>&#32;</span><strong>missing or incorrect</strong><span>, please contact your ward clerk:</span></p><i>{{ LAC.leaders.clerk.name }} {{ LAC.leaders.clerk.surnames.join(' ') }}</i><br/><span ng-if="LAC.leaders.clerk.phones[0].value"><a href="tel:{{ LAC.leaders.clerk.phones[0].value }}">{{ LAC.leaders.clerk.phones[0].value }}</a></span><span ng-if="!LAC.leaders.clerk.phones[0].value">&lt;&lt; No Phone Number >></span><br/><span ng-if="LAC.leaders.clerk.emails[0].value"><a href="mailto:{{ LAC.leaders.clerk.emails[0].value }}">{{ LAC.leaders.clerk.emails[0].value }}</a></span><span ng-if="!LAC.leaders.clerk.emails[0].value">&lt;&lt; No Email Address >></span>
</div>
<form ng-submit="LAC.markAsChecked()">
<div class="col-xs-12">
<div class="form-group">
<input type="submit" value="Continue" class="btn btn-primary"/>
</div>
</div>
</form>
</div>
</div>
</div>
</div>