Utils-view defaults to showing the corporation of the requester, if in the alliance. Also renamed some variables.

This commit is contained in:
Ydmir
2016-02-26 08:48:25 +01:00
parent a2438b2e16
commit 8a321992ad
2 changed files with 24 additions and 17 deletions

View File

@@ -34,8 +34,8 @@
<div class="col-lg-12 col-sm-5">
<b>API Index:</b>
<div class="progress">
<div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="{{ nwithapi }}" aria-valuemin="0" aria-valuemax="{{ corp.member_count }}" style="width: {% widthratio characters_with_api|length corp.member_count 100 %}%;">
{{ncharacters_with_api}}/{{ corp.member_count }}
<div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="{{ n_registered }}" aria-valuemin="0" aria-valuemax="{{ corp.member_count }}" style="width: {% widthratio characters_with_api|length corp.member_count 100 %}%;">
{{n_registered}}/{{ corp.member_count }}
</div>
</div>
</div>