diff --git a/ChangeLog b/ChangeLog index 92846544d..d8b4f297c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ Improvements: * Render QR code for TwoFactor authentication without Google Chart API * Add toggle button to show/hide subtasks in task list view * Display tags in task list view +* Make user actions available from contextual menu * Change users list layout * Project priority is always rendered now diff --git a/app/Controller/AvatarFileController.php b/app/Controller/AvatarFileController.php index 2a63c5aeb..327080d28 100644 --- a/app/Controller/AvatarFileController.php +++ b/app/Controller/AvatarFileController.php @@ -36,7 +36,7 @@ class AvatarFileController extends BaseController $this->flash->failure(t('Unable to upload files, check the permissions of your data folder.')); } - $this->response->redirect($this->helper->url->to('AvatarFileController', 'show', array('user_id' => $user['id']))); + $this->renderResponse($user['id']); } /** @@ -48,7 +48,7 @@ class AvatarFileController extends BaseController $user = $this->getUser(); $this->avatarFileModel->remove($user['id']); $this->userSession->refresh($user['id']); - $this->response->redirect($this->helper->url->to('AvatarFileController', 'show', array('user_id' => $user['id']))); + $this->renderResponse($user['id']); } /** @@ -91,4 +91,13 @@ class AvatarFileController extends BaseController $this->logger->error($e->getMessage()); } } + + protected function renderResponse($userId) + { + if ($this->request->isAjax()) { + $this->show(); + } else { + $this->response->redirect($this->helper->url->to('AvatarFileController', 'show', array('user_id' => $userId))); + } + } } diff --git a/app/Controller/TwoFactorController.php b/app/Controller/TwoFactorController.php index 73060c446..80f89fbd7 100644 --- a/app/Controller/TwoFactorController.php +++ b/app/Controller/TwoFactorController.php @@ -100,10 +100,15 @@ class TwoFactorController extends UserViewController unset($this->sessionStorage->twoFactorSecret); $this->userSession->disablePostAuthentication(); - $this->response->redirect($this->helper->url->to('TwoFactorController', 'index', array('user_id' => $user['id']))); + $this->response->redirect($this->helper->url->to('TwoFactorController', 'index', array('user_id' => $user['id'])), true); } else { $this->flash->failure(t('The two factor authentication code is not valid.')); - $this->response->redirect($this->helper->url->to('TwoFactorController', 'show', array('user_id' => $user['id']))); + + if ($this->request->isAjax()) { + $this->show(); + } else { + $this->response->redirect($this->helper->url->to('TwoFactorController', 'show', array('user_id' => $user['id']))); + } } } @@ -127,7 +132,7 @@ class TwoFactorController extends UserViewController $this->userSession->disablePostAuthentication(); $this->flash->success(t('User updated successfully.')); - $this->response->redirect($this->helper->url->to('TwoFactorController', 'index', array('user_id' => $user['id']))); + $this->response->redirect($this->helper->url->to('TwoFactorController', 'index', array('user_id' => $user['id'])), true); } /** @@ -192,7 +197,7 @@ class TwoFactorController extends UserViewController 'twofactor_secret' => '', )); - $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id']))); + $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id'])), true); } else { $this->response->html($this->helper->layout->user('twofactor/disable', array( 'user' => $user, diff --git a/app/Controller/UserApiAccessController.php b/app/Controller/UserApiAccessController.php index e03514d56..0f1c891ed 100644 --- a/app/Controller/UserApiAccessController.php +++ b/app/Controller/UserApiAccessController.php @@ -32,7 +32,7 @@ class UserApiAccessController extends BaseController 'api_access_token' => Token::getToken(), )); - $this->response->redirect($this->helper->url->to('UserApiAccessController', 'show', array('user_id' => $user['id']))); + $this->renderResponse(); } public function remove() @@ -45,6 +45,15 @@ class UserApiAccessController extends BaseController 'api_access_token' => null, )); - $this->response->redirect($this->helper->url->to('UserApiAccessController', 'show', array('user_id' => $user['id']))); + $this->renderResponse(); + } + + protected function renderResponse() + { + if ($this->request->isAjax()) { + $this->show(); + } else { + $this->response->redirect($this->helper->url->to('UserApiAccessController', 'show', array('user_id' => $user['id']))); + } } } \ No newline at end of file diff --git a/app/Controller/UserCredentialController.php b/app/Controller/UserCredentialController.php index 98fe967d8..23e7edba1 100644 --- a/app/Controller/UserCredentialController.php +++ b/app/Controller/UserCredentialController.php @@ -47,14 +47,14 @@ class UserCredentialController extends BaseController if ($this->userModel->update($values)) { $this->flash->success(t('Password modified successfully.')); $this->userLockingModel->resetFailedLogin($user['username']); + $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id'])), true); + return; } else { $this->flash->failure(t('Unable to change the password.')); } - - return $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id']))); } - return $this->changePassword($values, $errors); + $this->changePassword($values, $errors); } /** @@ -97,14 +97,14 @@ class UserCredentialController extends BaseController if ($valid) { if ($this->userModel->update($values)) { $this->flash->success(t('User updated successfully.')); + $this->response->redirect($this->helper->url->to('UserCredentialController', 'changeAuthentication', array('user_id' => $user['id'])), true); + return; } else { - $this->flash->failure(t('Unable to update your user.')); + $this->flash->failure(t('Unable to update this user.')); } - - return $this->response->redirect($this->helper->url->to('UserCredentialController', 'changeAuthentication', array('user_id' => $user['id']))); } - return $this->changeAuthentication($values, $errors); + $this->changeAuthentication($values, $errors); } /** diff --git a/app/Controller/UserModificationController.php b/app/Controller/UserModificationController.php index d339fd9a3..ed1459212 100644 --- a/app/Controller/UserModificationController.php +++ b/app/Controller/UserModificationController.php @@ -57,13 +57,13 @@ class UserModificationController extends BaseController if ($valid) { if ($this->userModel->update($values)) { $this->flash->success(t('User updated successfully.')); + $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id'])), true); + return; } else { - $this->flash->failure(t('Unable to update your user.')); + $this->flash->failure(t('Unable to update this user.')); } - - return $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user['id']))); } - return $this->show($values, $errors); + $this->show($values, $errors); } } diff --git a/app/Controller/UserViewController.php b/app/Controller/UserViewController.php index a73c5c518..eb9873797 100644 --- a/app/Controller/UserViewController.php +++ b/app/Controller/UserViewController.php @@ -123,7 +123,12 @@ class UserViewController extends BaseController $this->checkCSRFParam(); $user = $this->getUser(); $this->rememberMeSessionModel->remove($this->request->getIntegerParam('id')); - $this->response->redirect($this->helper->url->to('UserViewController', 'sessions', array('user_id' => $user['id']))); + + if ($this->request->isAjax()) { + $this->sessions(); + } else { + $this->response->redirect($this->helper->url->to('UserViewController', 'sessions', array('user_id' => $user['id'])), true); + } } /** @@ -139,10 +144,11 @@ class UserViewController extends BaseController $values = $this->request->getValues(); $this->userNotificationModel->saveSettings($user['id'], $values); $this->flash->success(t('User updated successfully.')); - return $this->response->redirect($this->helper->url->to('UserViewController', 'notifications', array('user_id' => $user['id']))); + $this->response->redirect($this->helper->url->to('UserViewController', 'notifications', array('user_id' => $user['id'])), true); + return; } - return $this->response->html($this->helper->layout->user('user_view/notifications', array( + $this->response->html($this->helper->layout->user('user_view/notifications', array( 'projects' => $this->projectUserRoleModel->getProjectsByUser($user['id'], array(ProjectModel::ACTIVE)), 'notifications' => $this->userNotificationModel->readSettings($user['id']), 'types' => $this->userNotificationTypeModel->getTypes(), @@ -164,7 +170,8 @@ class UserViewController extends BaseController $values = $this->request->getValues(); $this->userMetadataModel->save($user['id'], $values); $this->flash->success(t('User updated successfully.')); - $this->response->redirect($this->helper->url->to('UserViewController', 'integrations', array('user_id' => $user['id']))); + $this->response->redirect($this->helper->url->to('UserViewController', 'integrations', array('user_id' => $user['id'])), true); + return; } $this->response->html($this->helper->layout->user('user_view/integrations', array( @@ -206,10 +213,15 @@ class UserViewController extends BaseController $this->flash->failure(t('Unable to update this user.')); } - return $this->response->redirect($this->helper->url->to('UserViewController', 'share', array('user_id' => $user['id']))); + if (! $this->request->isAjax()) { + $this->response->redirect($this->helper->url->to('UserViewController', 'share', array('user_id' => $user['id'])), true); + return; + } + + $user = $this->getUser(); } - return $this->response->html($this->helper->layout->user('user_view/share', array( + $this->response->html($this->helper->layout->user('user_view/share', array( 'user' => $user, 'title' => t('Public access'), ))); diff --git a/app/Locale/bs_BA/translations.php b/app/Locale/bs_BA/translations.php index 4c0e3ca22..b53e8ad5b 100644 --- a/app/Locale/bs_BA/translations.php +++ b/app/Locale/bs_BA/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Korisnik uspješno kreiran', 'Unable to create your user.' => 'Nije uspjelo kreiranje korisnika.', 'User updated successfully.' => 'Korisnik uspješno ažuriran.', - 'Unable to update your user.' => 'Nije moguće ažuriranje korisnika.', 'User removed successfully.' => 'Korisnik uspješno uklonjen.', 'Unable to remove this user.' => 'Nije moguće uklanjanje korisnika.', 'Board updated successfully.' => 'Ploča je uspješno ažurirana.', @@ -1125,7 +1124,7 @@ return array( 'Email settings' => 'Postavke email-a', 'Email sender address' => 'Email adresa pošiljaoca', 'Email transport' => 'Saobraćaj emil-a', - //'Webhook token' => '', + // 'Webhook token' => '', 'Project tags management' => 'Upravljanje oznakama projekta', 'Tag created successfully.' => 'Oznaka uspješno kreirana.', 'Unable to create this tag.' => 'Nemoguće kreirati oznaku.', diff --git a/app/Locale/cs_CZ/translations.php b/app/Locale/cs_CZ/translations.php index 95f34142a..5100b33e5 100644 --- a/app/Locale/cs_CZ/translations.php +++ b/app/Locale/cs_CZ/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Uživatel byl úspěšně vytvořen.', 'Unable to create your user.' => 'Uživatele nebylo možné vytvořit.', 'User updated successfully.' => 'Uživatel byl úspěšně aktualizován.', - 'Unable to update your user.' => 'Uživatele nebylo možné aktualizovat.', 'User removed successfully.' => 'Uživatel byl vymazán.', 'Unable to remove this user.' => 'Uživatele nebylo možné odebrat.', 'Board updated successfully.' => 'Nástěnka byla úspěšně aktualizována.', diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php index 01b3a45f6..bc14f3f79 100644 --- a/app/Locale/da_DK/translations.php +++ b/app/Locale/da_DK/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Brugeren er oprettet.', 'Unable to create your user.' => 'Brugeren kunne ikke oprettes.', 'User updated successfully.' => 'Brugeren er opdateret', - 'Unable to update your user.' => 'Din bruger kunne ikke opdateres.', 'User removed successfully.' => 'Brugeren er fjernet.', 'Unable to remove this user.' => 'Brugeren kunne ikke fjernes.', 'Board updated successfully.' => 'Boardet er opdateret.', diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php index a078ffe4a..b33fc4d79 100644 --- a/app/Locale/de_DE/translations.php +++ b/app/Locale/de_DE/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Benutzer erfolgreich erstellt.', 'Unable to create your user.' => 'Erstellen des Benutzers nicht möglich.', 'User updated successfully.' => 'Benutzer erfolgreich geändert.', - 'Unable to update your user.' => 'Änderung des Benutzers nicht möglich.', 'User removed successfully.' => 'Benutzer erfolgreich gelöscht.', 'Unable to remove this user.' => 'Löschen des Benutzers nicht möglich.', 'Board updated successfully.' => 'Pinnwand erfolgreich geändert.', diff --git a/app/Locale/el_GR/translations.php b/app/Locale/el_GR/translations.php index cbc46195c..4daf5874c 100644 --- a/app/Locale/el_GR/translations.php +++ b/app/Locale/el_GR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Ο χρήστης δημιουργήθηκε με επιτυχία', 'Unable to create your user.' => 'Δεν είναι δυνατή η δημιουργία χρήστη', 'User updated successfully.' => 'Ο χρήστης ενημερωθηκε με επιτυχία', - 'Unable to update your user.' => 'Δεν είναι δυνατή η ενημέρωση του χρήστη', 'User removed successfully.' => 'Ο χρήστης αφαιρέθηκε με επιτυχία.', 'Unable to remove this user.' => 'Δεν είναι δυνατή η αφαίρεση χρήστη.', 'Board updated successfully.' => 'Ο πίνακας ενημερώθηκε με επιτυχία.', diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php index 1a0c94570..615161385 100644 --- a/app/Locale/es_ES/translations.php +++ b/app/Locale/es_ES/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'El usuario ha sido creado correctamente.', 'Unable to create your user.' => 'No se puede crear este usuario.', 'User updated successfully.' => 'El usuario ha sido actualizado correctamente.', - 'Unable to update your user.' => 'No se puede actualizar este usuario.', 'User removed successfully.' => 'El usuario ha sido creado correctamente.', 'Unable to remove this user.' => 'No se puede crear este usuario.', 'Board updated successfully.' => 'El tablero ha sido actualizado correctamente.', diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php index 6db0ecf79..970156329 100644 --- a/app/Locale/fi_FI/translations.php +++ b/app/Locale/fi_FI/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Käyttäjä lisättiin onnistuneesti.', 'Unable to create your user.' => 'Käyttäjän lisäys epäonnistui.', 'User updated successfully.' => 'Käyttäjätietojen päivitys onnistui.', - 'Unable to update your user.' => 'Käyttäjätietojen päivitys epäonnistui.', 'User removed successfully.' => 'Käyttäjä poistettiin onnistuneesti.', 'Unable to remove this user.' => 'Käyttäjän poistaminen epäonnistui.', 'Board updated successfully.' => 'Taulu päivitettiin onnistuneesti.', diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php index 6b21672aa..617082a8c 100644 --- a/app/Locale/fr_FR/translations.php +++ b/app/Locale/fr_FR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Utilisateur créé avec succès.', 'Unable to create your user.' => 'Impossible de créer cet utilisateur.', 'User updated successfully.' => 'Utilisateur mis à jour avec succès.', - 'Unable to update your user.' => 'Impossible de mettre à jour cet utilisateur.', 'User removed successfully.' => 'Utilisateur supprimé avec succès.', 'Unable to remove this user.' => 'Impossible de supprimer cet utilisateur.', 'Board updated successfully.' => 'Tableau mis à jour avec succès.', diff --git a/app/Locale/hr_HR/translations.php b/app/Locale/hr_HR/translations.php index 6c5e826ad..47edf7edd 100644 --- a/app/Locale/hr_HR/translations.php +++ b/app/Locale/hr_HR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Korisnik je uspješno kreiran', 'Unable to create your user.' => 'Nije uspjelo kreiranje korisnika.', 'User updated successfully.' => 'Korisnik je uspješno dopunjen.', - 'Unable to update your user.' => 'Nije moguća dopuna korisnika.', 'User removed successfully.' => 'Korisnik je uspješno maknut.', 'Unable to remove this user.' => 'Nije moguće uklanjanje korisnika.', 'Board updated successfully.' => 'Ploča uspješno dopunjena.', diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php index b46454176..868a22143 100644 --- a/app/Locale/hu_HU/translations.php +++ b/app/Locale/hu_HU/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Felhasználó létrehozva.', 'Unable to create your user.' => 'Felhasználó létrehozása sikertelen.', 'User updated successfully.' => 'Felhasználó sikeresen frissítve.', - 'Unable to update your user.' => 'Felhasználó frissítése sikertelen.', 'User removed successfully.' => 'Felhasználó sikeresen törölve.', 'Unable to remove this user.' => 'Felhasználó törlése sikertelen.', 'Board updated successfully.' => 'Tábla sikeresen frissítve.', diff --git a/app/Locale/id_ID/translations.php b/app/Locale/id_ID/translations.php index 4bec619cc..6d6a4e730 100644 --- a/app/Locale/id_ID/translations.php +++ b/app/Locale/id_ID/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Pengguna berhasil dibuat.', 'Unable to create your user.' => 'Tidak dapat membuat pengguna Anda.', 'User updated successfully.' => 'Pengguna berhasil diperbarui.', - 'Unable to update your user.' => 'Tidak dapat memperbarui pengguna anda.', 'User removed successfully.' => 'Pengguna berhasil dihapus.', 'Unable to remove this user.' => 'Tidak dapat menghapus pengguna ini.', 'Board updated successfully.' => 'Papan berhasil diperbaharui.', diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php index 6d690fd97..7e9065b63 100644 --- a/app/Locale/it_IT/translations.php +++ b/app/Locale/it_IT/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Utente creato con successo.', 'Unable to create your user.' => 'Impossibile creare l\'utente.', 'User updated successfully.' => 'Utente aggiornato con successo.', - 'Unable to update your user.' => 'Impossibile aggiornare questo utente.', 'User removed successfully.' => 'Utente cancellato con successo.', 'Unable to remove this user.' => 'Impossibile cancellare questo utente.', 'Board updated successfully.' => 'Bacheca aggiornata con successo.', diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php index cf17da8cc..9ccec92bc 100644 --- a/app/Locale/ja_JP/translations.php +++ b/app/Locale/ja_JP/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'ユーザを追加しました。', 'Unable to create your user.' => 'ユーザの追加に失敗しました。', 'User updated successfully.' => 'ユーザを更新しました。', - 'Unable to update your user.' => 'ユーザの更新に失敗しました。', 'User removed successfully.' => 'ユーザを削除しました。', 'Unable to remove this user.' => 'ユーザの削除に失敗しました。', 'Board updated successfully.' => 'ボードを更新しました。', diff --git a/app/Locale/ko_KR/translations.php b/app/Locale/ko_KR/translations.php index 259ed0487..95a33217c 100644 --- a/app/Locale/ko_KR/translations.php +++ b/app/Locale/ko_KR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => '사용자를 추가했습니다.', 'Unable to create your user.' => '사용자의 추가에 실패했습니다.', 'User updated successfully.' => '사용자를 갱신했습니다.', - 'Unable to update your user.' => '사용자의 갱신에 실패했습니다.', 'User removed successfully.' => '사용자를 삭제했습니다.', 'Unable to remove this user.' => '사용자 삭제에 실패했습니다.', 'Board updated successfully.' => '보드를 갱신했습니다.', diff --git a/app/Locale/my_MY/translations.php b/app/Locale/my_MY/translations.php index e4f0b6e92..ccdb62d8d 100644 --- a/app/Locale/my_MY/translations.php +++ b/app/Locale/my_MY/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Pengguna berhasil dibuat.', 'Unable to create your user.' => 'Tidak dapat membuat pengguna anda.', 'User updated successfully.' => 'Pengguna berhasil diperbaharui.', - 'Unable to update your user.' => 'Tidak dapat memperbaharui pengguna anda.', 'User removed successfully.' => 'pengguna berhasil dihapus.', 'Unable to remove this user.' => 'Tidak dapat menghapus pengguna ini.', 'Board updated successfully.' => 'Papan berhasil diperbaharui.', diff --git a/app/Locale/nb_NO/translations.php b/app/Locale/nb_NO/translations.php index 93eb4d6ad..41911f4e1 100644 --- a/app/Locale/nb_NO/translations.php +++ b/app/Locale/nb_NO/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Brukeren er opprettet.', 'Unable to create your user.' => 'Brukeren kunne ikke opprettes.', 'User updated successfully.' => 'Brukeren er oppdatert', - 'Unable to update your user.' => 'Din bruker kunne ikke oppdateres.', 'User removed successfully.' => 'Brukeren er fjernet.', 'Unable to remove this user.' => 'Brukeren kunne ikke slettes.', 'Board updated successfully.' => 'Hovedsiden er oppdatert.', diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php index 9f49f71d7..d8198f6ca 100644 --- a/app/Locale/nl_NL/translations.php +++ b/app/Locale/nl_NL/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Gebruiker succesvol aangemaakt.', 'Unable to create your user.' => 'Aanmaken van gebruiker niet gelukt.', 'User updated successfully.' => 'Gebruiker succesvol geupdate', - 'Unable to update your user.' => 'Updaten van gebruiker niet gelukt.', 'User removed successfully.' => 'Gebruiker succesvol verwijderd.', 'Unable to remove this user.' => 'Verwijderen van gebruikers niet gelukt.', 'Board updated successfully.' => 'Board succesvol geupdate.', diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php index 40b7fb47b..b05b5f783 100644 --- a/app/Locale/pl_PL/translations.php +++ b/app/Locale/pl_PL/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Użytkownik dodany', 'Unable to create your user.' => 'Nie udało się dodać użytkownika.', 'User updated successfully.' => 'Profil użytkownika został zaaktualizowany.', - 'Unable to update your user.' => 'Nie udało się zaktualizować użytkownika.', 'User removed successfully.' => 'Użytkownik usunięty.', 'Unable to remove this user.' => 'Nie udało się usunąć użytkownika.', 'Board updated successfully.' => 'Tablica została zaktualizowana.', diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php index 95c446ed2..a780dae3d 100644 --- a/app/Locale/pt_BR/translations.php +++ b/app/Locale/pt_BR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Usuário criado com sucesso.', 'Unable to create your user.' => 'Não é possível criar o seu usuário.', 'User updated successfully.' => 'Usuário atualizado com sucesso.', - 'Unable to update your user.' => 'Não é possível atualizar o seu usuário.', 'User removed successfully.' => 'Usuário removido com sucesso.', 'Unable to remove this user.' => 'Não é possível remover este usuário.', 'Board updated successfully.' => 'Board atualizado com sucesso.', diff --git a/app/Locale/pt_PT/translations.php b/app/Locale/pt_PT/translations.php index fad8b7ad3..8347b7bd9 100644 --- a/app/Locale/pt_PT/translations.php +++ b/app/Locale/pt_PT/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Utilizador criado com sucesso.', 'Unable to create your user.' => 'Não é possível criar o seu Utilizador.', 'User updated successfully.' => 'Utilizador actualizado com sucesso.', - 'Unable to update your user.' => 'Não é possível actualizar o seu Utilizador.', 'User removed successfully.' => 'Utilizador removido com sucesso.', 'Unable to remove this user.' => 'Não é possível remover este Utilizador.', 'Board updated successfully.' => 'Quadro actualizado com sucesso.', diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php index d8a8565d2..47462ef11 100644 --- a/app/Locale/ru_RU/translations.php +++ b/app/Locale/ru_RU/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Пользователь создан.', 'Unable to create your user.' => 'Не удалось создать пользователя.', 'User updated successfully.' => 'Пользователь обновлён.', - 'Unable to update your user.' => 'Не удалось обновить пользователя.', 'User removed successfully.' => 'Пользователь удалён.', 'Unable to remove this user.' => 'Не удалось удалить пользователя.', 'Board updated successfully.' => 'Доска успешно обновлена.', diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php index 31d115f44..9e2cae20f 100644 --- a/app/Locale/sr_Latn_RS/translations.php +++ b/app/Locale/sr_Latn_RS/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Korisnik uspešno kreiran', 'Unable to create your user.' => 'Nije uspelo kreiranje korisnika.', 'User updated successfully.' => 'Korisnik uspešno ažuriran.', - 'Unable to update your user.' => 'Nije moguće ažuriranje korisnika.', 'User removed successfully.' => 'Korisnik uspešno uklonjen.', 'Unable to remove this user.' => 'Nije moguće uklanjanje korisnika.', 'Board updated successfully.' => 'Tabla uspešno ažurirana.', diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php index 53a3b5b72..468f55b36 100644 --- a/app/Locale/sv_SE/translations.php +++ b/app/Locale/sv_SE/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Användaren har skapats.', 'Unable to create your user.' => 'Kunde inte skapa din användare.', 'User updated successfully.' => 'Användaren har updaterats.', - 'Unable to update your user.' => 'Kunde inte uppdatera din användare.', 'User removed successfully.' => 'Användaren har tagits bort.', 'Unable to remove this user.' => 'Kunde inte ta bort denna användare.', 'Board updated successfully.' => 'Tavlan uppdaterad.', diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php index 4b42911fa..4b119c78e 100644 --- a/app/Locale/th_TH/translations.php +++ b/app/Locale/th_TH/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'สร้างผู้ใช้เรียบร้อยแล้ว', 'Unable to create your user.' => 'ไม่สามารถสร้างผู้ใช้ได้', 'User updated successfully.' => 'ปรับปรุงผู้ใช้เรียบร้อยแล้ว', - 'Unable to update your user.' => 'ไม่สามารถปรับปรุงผู้ใช้ได้', 'User removed successfully.' => 'ลบผู้ใช้เรียบร้อยแล้ว', 'Unable to remove this user.' => 'ไม่สามารถลบผู้ใช้ได้', 'Board updated successfully.' => 'ปรับปรุงบอร์ดเรียบร้อยแล้ว', diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php index 14111bd04..0876b7267 100644 --- a/app/Locale/tr_TR/translations.php +++ b/app/Locale/tr_TR/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => 'Kullanıcı başarıyla oluşturuldu', 'Unable to create your user.' => 'Kullanıcı oluşturulamıyor.', 'User updated successfully.' => 'Kullanıcı başarıyla güncellendi.', - 'Unable to update your user.' => 'Kullanıcı güncellenemiyor.', 'User removed successfully.' => 'Kullanıcı silindi.', 'Unable to remove this user.' => 'Bu kullanıcı silinemiyor.', 'Board updated successfully.' => 'Pano başarıyla güncellendi.', diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index c1779b338..ffab73377 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -132,7 +132,6 @@ return array( 'User created successfully.' => '成功创建用户。', 'Unable to create your user.' => '无法创建用户。', 'User updated successfully.' => '成功更新用户。', - 'Unable to update your user.' => '无法为您更新用户。', 'User removed successfully.' => '成功移除用户。', 'Unable to remove this user.' => '无法移除该用户。', 'Board updated successfully.' => '看板成功更新。', diff --git a/app/Template/avatar_file/show.php b/app/Template/avatar_file/show.php index 37c56cec4..1766cb3f9 100644 --- a/app/Template/avatar_file/show.php +++ b/app/Template/avatar_file/show.php @@ -6,7 +6,7 @@