From 607863cfc4782853db21915320dfcff64d16622f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 29 Apr 2024 18:00:22 +0100 Subject: [PATCH] Remove duplicate template macro --- snikket_web/templates/library.j2 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/snikket_web/templates/library.j2 b/snikket_web/templates/library.j2 index 76bcda7..54915dc 100644 --- a/snikket_web/templates/library.j2 +++ b/snikket_web/templates/library.j2 @@ -140,14 +140,6 @@ {%- endif -%} {%- endmacro -%} -{%- macro invite_type_description(invite_info, caller=None) -%} -{%- if invite_info.reusable -%} -{% trans %}Can be used multiple times to create accounts on this Snikket service.{% endtrans %} -{%- else -%} -{% trans %}Can be used once to create an account on this Snikket service.{% endtrans %} -{%- endif -%} -{%- endmacro -%} - {% macro access_level_description(role, caller=None) %} {%- if role == "prosody:restricted" -%} {% trans %}Limited users can interact with users on the same Snikket service and be members of circles.{% endtrans %}