mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Show current training to HR, hide blacklist status to public
This commit is contained in:
@@ -14,7 +14,9 @@
|
|||||||
<li>Applying Character: <a href="{% url eve_api.views.eveapi_character app.character.id %}">{{ app.character }}</a></li>
|
<li>Applying Character: <a href="{% url eve_api.views.eveapi_character app.character.id %}">{{ app.character }}</a></li>
|
||||||
<li>Applying To: <a href="{% url eve_api.views.eveapi_corporation app.corporation.id %}">{{ app.corporation }}</a></li>
|
<li>Applying To: <a href="{% url eve_api.views.eveapi_corporation app.corporation.id %}">{{ app.corporation }}</a></li>
|
||||||
<li>Application Status: <b>{{ app.get_status_display }}</b></li>
|
<li>Application Status: <b>{{ app.get_status_display }}</b></li>
|
||||||
|
{% if hrstaff %}
|
||||||
<li>Blacklist Status: <b>{% if app.blacklisted %}<font color='red'>BLACKLISTED</font>{% else %}<font color='geen'>OK</font>{% endif %}</b></li>
|
<li>Blacklist Status: <b>{% if app.blacklisted %}<font color='red'>BLACKLISTED</font>{% else %}<font color='geen'>OK</font>{% endif %}</b></li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% ifnotequal app.status 5 %}
|
{% ifnotequal app.status 5 %}
|
||||||
@@ -61,6 +63,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if hrstaff %}
|
||||||
{% if app.blacklisted %}
|
{% if app.blacklisted %}
|
||||||
<h3>Blacklist Triggers</h3>
|
<h3>Blacklist Triggers</h3>
|
||||||
<table>
|
<table>
|
||||||
@@ -70,6 +73,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if app.recommendation_set.all %}
|
{% if app.recommendation_set.all %}
|
||||||
<h3>Recommendations</h3>
|
<h3>Recommendations</h3>
|
||||||
@@ -89,7 +93,7 @@
|
|||||||
{% if hrstaff %}
|
{% if hrstaff %}
|
||||||
<h3>EVE Characters</h3>
|
<h3>EVE Characters</h3>
|
||||||
<table>
|
<table>
|
||||||
<tr><th>Character</th><th>Corp / Alliance</th><th>ISK</th><th>SP</th><th>Links</th></tr>
|
<tr><th>Character</th><th>Corp / Alliance</th><th>ISK</th><th>SP</th><th>Training</th><th>Links</th></tr>
|
||||||
{% for acc in app.user.eveaccount_set.all %}
|
{% for acc in app.user.eveaccount_set.all %}
|
||||||
{% for char in acc.characters.all %}
|
{% for char in acc.characters.all %}
|
||||||
<tr><td><a href="{% url eve_api.views.eveapi_character char.id %}">{{ char.name }}</a></td>
|
<tr><td><a href="{% url eve_api.views.eveapi_character char.id %}">{{ char.name }}</a></td>
|
||||||
@@ -98,6 +102,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td align="right">{{ char.balance|intcomma }} ISK</td>
|
<td align="right">{{ char.balance|intcomma }} ISK</td>
|
||||||
<td align="right">{{ char.total_sp|intcomma }} SP</td>
|
<td align="right">{{ char.total_sp|intcomma }} SP</td>
|
||||||
|
<td>{% if char.current_training %}{{ char.current_training.skill.name }} to Level {{ char.current_training.in_training }}{% endif %}</td>
|
||||||
<td>{% if request.is_igb %}<a href="javascript:CCPEVE.showInfo(1377, {{ char.id }})">Show In Eve</a> / {% endif %}<a href="https://gate.eveonline.com/Profile/{{ char.name }}/">EveGate Profile</a> / <a href="http://eve-search.com/search/author/{{ char.name }}">EveSearch</a> / <a href="https://forums.eveonline.com/default.aspx?g=search&search={{ char.name}}">EVEGate Forums</a></td>
|
<td>{% if request.is_igb %}<a href="javascript:CCPEVE.showInfo(1377, {{ char.id }})">Show In Eve</a> / {% endif %}<a href="https://gate.eveonline.com/Profile/{{ char.name }}/">EveGate Profile</a> / <a href="http://eve-search.com/search/author/{{ char.name }}">EveSearch</a> / <a href="https://forums.eveonline.com/default.aspx?g=search&search={{ char.name}}">EVEGate Forums</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user