Merge pull request #18 from praekeltfoundation/feature/issue-18-Display-the-number-of-users-in-a-static-segment-SAS-99
Display the number of users in a static segment SAS-99
This commit is contained in:
@@ -38,11 +38,11 @@
|
|||||||
<li class="stat_card">
|
<li class="stat_card">
|
||||||
{% trans "This segment is Static" %}
|
{% trans "This segment is Static" %}
|
||||||
<span class="icon icon-fa-user">
|
<span class="icon icon-fa-user">
|
||||||
{{ segment.sessions.count|localize }}
|
{{ segment.static_users.count|localize }}
|
||||||
{% if segment.sessions.count < segment.count %}
|
{% if segment.static_users.count < segment.count %}
|
||||||
/ {{ segment.count }} {% trans "member" %}{{ segment.count|pluralize }}
|
/ {{ segment.count }} {% trans "member" %}{{ segment.count|pluralize }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% trans "member" %}{{ segment.sessions.count|pluralize }}
|
{% trans "member" %}{{ segment.count|pluralize }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user