Change "reusability" to "type" for invites

- This makes the choice much clearer
- Allows for less generic terms in the table
- Future extensibility \o/
This commit is contained in:
Jonas Schäfer
2021-01-27 15:54:56 +01:00
parent ad0041ba84
commit 2f368e0a34
6 changed files with 46 additions and 38 deletions

View File

@@ -107,3 +107,11 @@
<em>{% trans %}deleted{% endtrans %}</em>
{%- endif -%}
{% endmacro %}
{%- macro invite_type_name(invite_info, caller=None) -%}
{%- if invite_info.reusable -%}
{% trans %}Group{% endtrans %}
{%- else -%}
{% trans %}Individual{% endtrans %}
{%- endif -%}
{%- endmacro -%}