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 ""
10541054msgid "Remove this member from the organization."
10551055msgstr "Enlever cet utilisateur de l'organisation."
10561056
1057- #: pytition/petition/template/orga.js:82
1057+ #: pytition/petition/templates/petition/org_member_list.html:39
10581058msgid "Unable to remove this member from the organization."
10591059msgstr "Impossible d'enlever cet utilisateur de l'organisation."
10601060
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
3131 {% endfor %}
3232 </ ul >
3333</ 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 () {
7979 else
8080 window . location = window . location . href ;
8181 } ) . fail ( ( xhr , status , error ) => {
82- alert ( "{% trans 'Unable to remove this member from the organization.' %}" ) ;
82+ $ ( '#member_delete_error_modal' ) . modal ( 'show' )
8383 } ) ;
8484 } ) ;
8585} ) ;
You can’t perform that action at this time.
0 commit comments