File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
petition/templates/petition Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -1054,7 +1054,7 @@ msgstr ""
1054
1054
msgid "Remove this member from the organization."
1055
1055
msgstr "Enlever cet utilisateur de l'organisation."
1056
1056
1057
- #: pytition/petition/template/orga.js:82
1057
+ #: pytition/petition/templates/petition/org_member_list.html:39
1058
1058
msgid "Unable to remove this member from the organization."
1059
1059
msgstr "Impossible d'enlever cet utilisateur de l'organisation."
1060
1060
Original file line number Diff line number Diff line change @@ -31,3 +31,18 @@ <h4><span class="oi oi-people"></span> {% trans "Members" %} ({{ org.m
31
31
{% endfor %}
32
32
</ ul >
33
33
</ div >
34
+
35
+ < div class ="modal fade " id ="member_delete_error_modal ">
36
+ < div class ="modal-dialog ">
37
+ < div class ="modal-content ">
38
+ < div class ="modal-body ">
39
+ {% trans "Unable to remove this member from the organization." %}
40
+ </ div >
41
+
42
+ < div class ="modal-footer ">
43
+ < button type ="button " class ="btn btn-info " data-dismiss ="modal "> OK</ button >
44
+ </ div >
45
+
46
+ </ div >
47
+ </ div >
48
+ </ div >
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ $(function () {
79
79
else
80
80
window . location = window . location . href ;
81
81
} ) . fail ( ( xhr , status , error ) => {
82
- alert ( "{% trans 'Unable to remove this member from the organization.' %}" ) ;
82
+ $ ( '#member_delete_error_modal' ) . modal ( 'show' )
83
83
} ) ;
84
84
} ) ;
85
85
} ) ;
You can’t perform that action at this time.
0 commit comments