Skip to content
Snippets Groups Projects
Commit c05ed50d authored by Moritz Strohm's avatar Moritz Strohm
Browse files

resources/room_request/resolve: set page title and info messagebox to a...

resources/room_request/resolve: set page title and info messagebox to a different text for denied resource requests
parent b6ed742b
No related branches found
No related tags found
No related merge requests found
...@@ -1307,9 +1307,16 @@ class Resources_RoomRequestController extends AuthenticatedController ...@@ -1307,9 +1307,16 @@ class Resources_RoomRequestController extends AuthenticatedController
$this->show_info = true; $this->show_info = true;
if ($this->request->closed > 0) { if ($this->request->closed > 0) {
PageLayout::postInfo( if ($this->request->closed == '3') {
_('Die Anfrage wurde bereits aufgelöst!') PageLayout::setTitle(_('Abgelehnte Anfrage'));
); PageLayout::postInfo(
_('Die Anfrage wurde abgelehnt!')
);
} else {
PageLayout::postInfo(
_('Die Anfrage wurde bereits aufgelöst!')
);
}
$this->show_form = false; $this->show_form = false;
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment