Skip to content
Snippets Groups Projects
Commit 3115ec60 authored by Prakhar tripathi's avatar Prakhar tripathi Committed by Rodrigo Nascimento
Browse files

[FIX] Missing page not found (#6673)

[FIX] Missing page "not found"
parent 88c80701
No related branches found
No related tags found
No related merge requests found
<template name="pageNotFound">
<h1>{{_ "Error_404"}}</h1>
<h3>{{_ "Oops_page_not_found"}}</h3>
<p>{{_ "Sorry_page_you_requested_does_not_exists_or_was_deleted"}}</p>
</template>
...@@ -148,3 +148,10 @@ FlowRouter.route('/register/:hash', { ...@@ -148,3 +148,10 @@ FlowRouter.route('/register/:hash', {
// BlazeLayout.render 'logoLayout', { render: 'invalidSecretURL' } // BlazeLayout.render 'logoLayout', { render: 'invalidSecretURL' }
} }
}); });
FlowRouter.notFound = {
action() {
BlazeLayout.render('pageNotFound');
}
};
...@@ -633,6 +633,9 @@ ...@@ -633,6 +633,9 @@
"Enter_Normal": "Normal mode (send with Enter)", "Enter_Normal": "Normal mode (send with Enter)",
"Enter_to": "Enter to", "Enter_to": "Enter to",
"Error": "Error", "Error": "Error",
"Error_404": "Error:404",
"Error_RocketChat_requires_oplog_tailing_when_running_in_multiple_instances": "Error: Rocket.Chat requires oplog tailing when running in multiple instances",
"Error_RocketChat_requires_oplog_tailing_when_running_in_multiple_instances_details": "Please make sure your MongoDB is on ReplicaSet mode and MONGO_OPLOG_URL environment variable is defined correctly on the application server",
"error-action-not-allowed": "__action__ is not allowed", "error-action-not-allowed": "__action__ is not allowed",
"error-application-not-found": "Application not found", "error-application-not-found": "Application not found",
"error-archived-duplicate-name": "There's an archived channel with name '__room_name__'", "error-archived-duplicate-name": "There's an archived channel with name '__room_name__'",
...@@ -1463,6 +1466,8 @@ ...@@ -1463,6 +1466,8 @@
"Opens_a_channel_group_or_direct_message": "Opens a channel, group or direct message", "Opens_a_channel_group_or_direct_message": "Opens a channel, group or direct message",
"optional": "optional", "optional": "optional",
"or": "or", "or": "or",
"Oops_page_not_found": "Oops, page not found",
"Open_your_authentication_app_and_enter_the_code": "Open your authentication app and enter the code. You can also use one of your backup codes.",
"Or_talk_as_anonymous": "Or talk as anonymous", "Or_talk_as_anonymous": "Or talk as anonymous",
"Order": "Order", "Order": "Order",
"Original": "Original", "Original": "Original",
...@@ -1823,6 +1828,7 @@ ...@@ -1823,6 +1828,7 @@
"Snippet_Added": "Created on %s", "Snippet_Added": "Created on %s",
"Snippet_Messages": "Snippet Messages", "Snippet_Messages": "Snippet Messages",
"Snippeted_a_message": "Created a snippet __snippetLink__", "Snippeted_a_message": "Created a snippet __snippetLink__",
"Sorry_page_you_requested_does_not_exists_or_was_deleted": "Sorry, page you requested does not exists or was deleted!",
"Sort_by_activity": "Sort by Activity", "Sort_by_activity": "Sort by Activity",
"Sound": "Sound", "Sound": "Sound",
"Sound_File_mp3": "Sound File (mp3)", "Sound_File_mp3": "Sound File (mp3)",
......
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