2014-01-23 06:09:56 +08:00
|
|
|
<div class='admin-controls'>
|
|
|
|
<div class='span15'>
|
|
|
|
<ul class="nav nav-pills">
|
2014-01-24 05:40:10 +08:00
|
|
|
<li>{{#link-to 'adminUser' this}}<i class="fa fa-caret-left"></i> {{username}}{{/link-to}}</li>
|
|
|
|
<li>{{#link-to 'adminUsersList.regular'}}{{i18n admin.user.trust_level_2_users}}{{/link-to}}</li>
|
2014-01-23 06:09:56 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-30 11:22:45 +08:00
|
|
|
<div class="admin-container tl3-requirements">
|
2014-01-23 06:09:56 +08:00
|
|
|
<h2>{{username}} - {{i18n admin.user.tl3_requirements.title}}</h2>
|
|
|
|
<br/>
|
|
|
|
<p>{{i18n admin.user.tl3_requirements.table_title}}</p>
|
|
|
|
|
2014-09-30 11:22:45 +08:00
|
|
|
{{#with tl3Requirements}}
|
2014-10-08 03:52:54 +08:00
|
|
|
<table class="table" style="width: auto;">
|
2014-01-24 05:40:10 +08:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.value_heading}}</th>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.requirement_heading}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2014-01-23 06:09:56 +08:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.visits}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.days_visited:fa-check:fa-times"}}></i></td>
|
2014-01-23 06:09:56 +08:00
|
|
|
<td>
|
2014-01-24 05:40:10 +08:00
|
|
|
{{days_visited_percent}}% ({{days_visited}} / {{time_period}} {{i18n admin.user.tl3_requirements.days}})
|
2014-01-23 06:09:56 +08:00
|
|
|
</td>
|
2014-01-24 05:40:10 +08:00
|
|
|
<td>{{min_days_visited_percent}}%</td>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.topics_replied_to}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.topics_replied_to:fa-check:fa-times"}}></i></td>
|
2014-01-24 05:40:10 +08:00
|
|
|
<td>{{num_topics_replied_to}}</td>
|
|
|
|
<td>{{min_topics_replied_to}}</td>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-06-27 01:48:07 +08:00
|
|
|
<th>{{i18n admin.user.tl3_requirements.topics_viewed}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.topics_viewed:fa-check:fa-times"}}></i></td>
|
2014-06-27 01:48:07 +08:00
|
|
|
<td>{{topics_viewed}}</td>
|
|
|
|
<td>{{min_topics_viewed}}</td>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tr>
|
2014-07-02 01:34:48 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.topics_viewed_all_time}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.topics_viewed_all_time:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{topics_viewed_all_time}}</td>
|
|
|
|
<td>{{min_topics_viewed_all_time}}</td>
|
|
|
|
</tr>
|
2014-01-23 06:09:56 +08:00
|
|
|
<tr>
|
2014-06-27 01:48:07 +08:00
|
|
|
<th>{{i18n admin.user.tl3_requirements.posts_read}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.posts_read:fa-check:fa-times"}}></i></td>
|
2014-06-27 01:48:07 +08:00
|
|
|
<td>{{posts_read}}</td>
|
|
|
|
<td>{{min_posts_read}}</td>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tr>
|
2014-07-02 01:34:48 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.posts_read_all_time}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.posts_read_all_time:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{posts_read_all_time}}</td>
|
|
|
|
<td>{{min_posts_read_all_time}}</td>
|
|
|
|
</tr>
|
2014-01-23 06:09:56 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.flagged_posts}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.flagged_posts:fa-check:fa-times"}}></i></td>
|
2014-01-24 05:40:10 +08:00
|
|
|
<td>{{num_flagged_posts}}</td>
|
2014-10-07 03:31:32 +08:00
|
|
|
<td>{{i18n max_of_count count=max_flagged_posts}}</td>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tr>
|
2014-06-28 00:26:03 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.flagged_by_users}}</th>
|
2014-07-02 01:34:48 +08:00
|
|
|
<td><i {{bind-attr class=":fa met.flagged_by_users:fa-check:fa-times"}}></i></td>
|
2014-06-28 00:26:03 +08:00
|
|
|
<td>{{num_flagged_by_users}}</td>
|
2014-10-07 03:31:32 +08:00
|
|
|
<td>{{i18n max_of_count count=max_flagged_by_users}}</td>
|
2014-06-28 00:26:03 +08:00
|
|
|
</tr>
|
2014-08-23 05:33:05 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.likes_given}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.likes_given:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{num_likes_given}}</td>
|
|
|
|
<td>{{min_likes_given}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.likes_received}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.likes_received:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{num_likes_received}}</td>
|
|
|
|
<td>{{min_likes_received}}</td>
|
|
|
|
</tr>
|
2014-10-08 03:52:54 +08:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.likes_received_days}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.likes_received_days:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{num_likes_received_days}}</td>
|
|
|
|
<td>{{min_likes_received_days}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.user.tl3_requirements.likes_received_users}}</th>
|
|
|
|
<td><i {{bind-attr class=":fa met.likes_received_users:fa-check:fa-times"}}></i></td>
|
|
|
|
<td>{{num_likes_received_users}}</td>
|
|
|
|
<td>{{min_likes_received_users}}</td>
|
|
|
|
</tr>
|
2014-01-23 06:09:56 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-06-28 00:26:03 +08:00
|
|
|
{{/with}}
|
2014-06-27 01:48:07 +08:00
|
|
|
|
2014-06-28 00:26:03 +08:00
|
|
|
<br/>
|
|
|
|
<p>
|
2014-09-30 11:22:45 +08:00
|
|
|
{{#if istl3}}
|
|
|
|
{{#if tl3Requirements.requirements_lost}}
|
2014-09-14 04:55:26 +08:00
|
|
|
{{! tl implicitly not locked }}
|
2014-09-30 11:22:45 +08:00
|
|
|
{{#if tl3Requirements.on_grace_period}}
|
2014-09-14 04:55:26 +08:00
|
|
|
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.on_grace_period}}
|
|
|
|
{{else}} {{! not on grace period }}
|
|
|
|
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}}
|
|
|
|
{{i18n admin.user.tl3_requirements.will_be_demoted}}
|
|
|
|
{{/if}}
|
2014-09-30 11:22:45 +08:00
|
|
|
{{else}} {{! requirements not lost - remains tl3 }}
|
|
|
|
{{#if tl3Requirements.trust_level_locked}}
|
2014-09-14 04:55:26 +08:00
|
|
|
<i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_demoted}}
|
|
|
|
{{else}} {{! tl not locked }}
|
|
|
|
<i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}}
|
2014-09-30 11:22:45 +08:00
|
|
|
{{#if tl3Requirements.on_grace_period}}
|
2014-09-14 05:02:07 +08:00
|
|
|
{{i18n admin.user.tl3_requirements.on_grace_period}}
|
|
|
|
{{/if}}
|
2014-09-14 04:55:26 +08:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2014-09-30 11:22:45 +08:00
|
|
|
{{else}} {{! is not tl3 }}
|
|
|
|
{{#if tl3Requirements.requirements_met}}
|
|
|
|
{{! met & not tl3 - will be promoted}}
|
2014-09-14 04:55:26 +08:00
|
|
|
<i class="fa fa-check"></i> {{i18n admin.user.tl3_requirements.qualifies}}
|
|
|
|
{{i18n admin.user.tl3_requirements.will_be_promoted}}
|
|
|
|
{{else}} {{! requirements not met - remains regular }}
|
2014-09-30 11:22:45 +08:00
|
|
|
{{#if tl3Requirements.trust_level_locked}}
|
2014-09-14 04:55:26 +08:00
|
|
|
<i class="fa fa-lock"></i> {{i18n admin.user.tl3_requirements.locked_will_not_be_promoted}}
|
|
|
|
{{else}}
|
|
|
|
<i class="fa fa-times"></i> {{i18n admin.user.tl3_requirements.does_not_qualify}}
|
|
|
|
{{/if}}
|
2014-08-30 00:33:34 +08:00
|
|
|
{{/if}}
|
2014-06-28 00:26:03 +08:00
|
|
|
{{/if}}
|
|
|
|
</p>
|
2014-01-23 06:09:56 +08:00
|
|
|
</div>
|