File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
petition/templates/petition Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1054,6 +1054,10 @@ msgstr ""
10541054msgid "Remove this member from the organization."
10551055msgstr "Enlever cet utilisateur de l'organisation."
10561056
1057+ #: pytition/petition/template/orga.js:82
1058+ msgid "Unable to remove this member from the organization."
1059+ msgstr "Impossible d'enlever cet utilisateur de l'organisation."
1060+
10571061#: pytition/petition/templates/petition/org_profile.html:5
10581062#, python-format
10591063msgid ""
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ $(function () {
7878 window . location = "{% url " user_dashboard " %}" ;
7979 else
8080 window . location = window . location . href ;
81+ } ) . fail ( ( xhr , status , error ) => {
82+ alert ( "{% trans 'Unable to remove this member from the organization.' %}" ) ;
8183 } ) ;
8284 } ) ;
8385} ) ;
You can’t perform that action at this time.
0 commit comments