From 9d5b45857fee019c3f5a5538428314423371d87b Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Fri, 18 Feb 2022 22:26:44 -0800 Subject: [PATCH] Clarify heading for the remove role page. Fixes #509 --- .../postorius/lists/confirm_remove_role.html | 53 ++++++++++++---------- 1 file changed, 30 insertions(+), 23 deletions(-) rewrite src/postorius/templates/postorius/lists/confirm_remove_role.html (69%) diff --git a/src/postorius/templates/postorius/lists/confirm_remove_role.html b/src/postorius/templates/postorius/lists/confirm_remove_role.html dissimilarity index 69% index e8634475..d89db57d 100644 --- a/src/postorius/templates/postorius/lists/confirm_remove_role.html +++ b/src/postorius/templates/postorius/lists/confirm_remove_role.html @@ -1,23 +1,30 @@ -{% extends "postorius/base.html" %} -{% load i18n %} - -{% block head_title %} -{% trans 'Confirm remove role' %} | {{ address }} - {{ block.super }} -{% endblock %} - -{% load nav_helpers %} - -{% block content %} -
-

{% trans 'Confirm remove role' %}

-
-

{% trans 'Are you sure?' %}

-
- {% csrf_token %} - - {% trans 'Cancel' %} -
-
-
- -{% endblock content %} +{% extends "postorius/base.html" %} +{% load i18n %} + +{% block head_title %} + {% trans 'Confirm remove role' %} | {{ address }} - {{ block.super }} +{% endblock %} + +{% load nav_helpers %} + +{% block content %} +
+
+

+ {% trans role as role_translated %} + {% blocktrans %} + Remove {{ address }} as {{ role_translated }}? + {% endblocktrans %} +

+
+
+

+

{% trans 'Are you sure?' %}

+
+ {% csrf_token %} + + {% trans 'Cancel' %} +
+
+
+{% endblock content %} -- 2.11.4.GIT