You've already forked snikket-web-portal
templates: Render ?roster invites as type 'Contact'
This commit is contained in:
@@ -109,7 +109,9 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{%- macro invite_type_name(invite_info, caller=None) -%}
|
{%- macro invite_type_name(invite_info, caller=None) -%}
|
||||||
{%- if invite_info.reusable -%}
|
{%- if invite_info.type_.value == "roster" %}
|
||||||
|
{%- trans %}Contact{% endtrans %}
|
||||||
|
{%- elif invite_info.reusable -%}
|
||||||
{% trans %}Group{% endtrans %}
|
{% trans %}Group{% endtrans %}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{% trans %}Individual{% endtrans %}
|
{% trans %}Individual{% endtrans %}
|
||||||
|
|||||||
Reference in New Issue
Block a user