Portal: Added an environment banner in the portal like in the console. It warns the user when he is browsing in an other mode than "production".

SVN:trunk[4531]
This commit is contained in:
Guillaume Lajarige
2016-12-15 15:02:26 +00:00
parent fa9848d1be
commit 27c3facb2b
8 changed files with 44 additions and 1 deletions

View File

@@ -36,6 +36,8 @@ Dict::Add('EN US', 'English', 'English', array(
'Portal:Button:Add' => 'Add',
'Portal:Button:Remove' => 'Remove',
'Portal:Button:Delete' => 'Delete',
'Portal:EnvironmentBanner:Title' => 'You are currently in <strong>%1$s</strong> mode',
'Portal:EnvironmentBanner:GoToProduction' => 'Go back to PRODUCTION mode',
'Error:HTTP:404' => 'Page not found',
'Error:HTTP:500' => 'Oops! An error has occured.',
'Error:HTTP:GetHelp' => 'Please contact your iTop administrator if the problem keeps happening.',