fix messy merge

This commit is contained in:
Sam 2014-09-30 13:22:45 +10:00
parent 4bcd4e05b8
commit c42b3ca657

View File

@ -7,12 +7,12 @@
</div> </div>
</div> </div>
<div class="admin-container leader-requirements"> <div class="admin-container tl3-requirements">
<h2>{{username}} - {{i18n admin.user.tl3_requirements.title}}</h2> <h2>{{username}} - {{i18n admin.user.tl3_requirements.title}}</h2>
<br/> <br/>
<p>{{i18n admin.user.tl3_requirements.table_title}}</p> <p>{{i18n admin.user.tl3_requirements.table_title}}</p>
{{#with leaderRequirements}} {{#with tl3Requirements}}
<table class="table" style="width: 50%;"> <table class="table" style="width: 50%;">
<thead> <thead>
<tr> <tr>
@ -91,32 +91,32 @@
<br/> <br/>
<p> <p>
{{#if isLeader}} {{#if istl3}}
{{#if leaderRequirements.requirements_lost}} {{#if tl3Requirements.requirements_lost}}
{{! tl implicitly not locked }} {{! tl implicitly not locked }}
{{#if leaderRequirements.on_grace_period}} {{#if tl3Requirements.on_grace_period}}
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.on_grace_period}} <i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.on_grace_period}}
{{else}} {{! not on grace period }} {{else}} {{! not on grace period }}
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}} <i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}}
{{i18n admin.user.tl3_requirements.will_be_demoted}} {{i18n admin.user.tl3_requirements.will_be_demoted}}
{{/if}} {{/if}}
{{else}} {{! requirements not lost - remains leader }} {{else}} {{! requirements not lost - remains tl3 }}
{{#if leaderRequirements.trust_level_locked}} {{#if tl3Requirements.trust_level_locked}}
<i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_demoted}} <i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_demoted}}
{{else}} {{! tl not locked }} {{else}} {{! tl not locked }}
<i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}} <i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}}
{{#if leaderRequirements.on_grace_period}} {{#if tl3Requirements.on_grace_period}}
{{i18n admin.user.tl3_requirements.on_grace_period}} {{i18n admin.user.tl3_requirements.on_grace_period}}
{{/if}} {{/if}}
{{/if}} {{/if}}
{{/if}} {{/if}}
{{else}} {{! is not leader }} {{else}} {{! is not tl3 }}
{{#if leaderRequirements.requirements_met}} {{#if tl3Requirements.requirements_met}}
{{! met & not leader - will be promoted}} {{! met & not tl3 - will be promoted}}
<i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}} <i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}}
{{i18n admin.user.tl3_requirements.will_be_promoted}} {{i18n admin.user.tl3_requirements.will_be_promoted}}
{{else}} {{! requirements not met - remains regular }} {{else}} {{! requirements not met - remains regular }}
{{#if leaderRequirements.trust_level_locked}} {{#if tl3Requirements.trust_level_locked}}
<i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_promoted}} <i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_promoted}}
{{else}} {{else}}
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}} <i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}}
@ -125,5 +125,3 @@
{{/if}} {{/if}}
</p> </p>
</div> </div>