ComunicWeb/assets/js/pagesList.js

125 lines
2.5 KiB
JavaScript
Raw Normal View History

2017-01-22 12:03:31 +00:00
/**
* Differents pages listing
*
* @author Pierre HUBERT
*/
ComunicWeb.pagesList = {
/**
* Home page
*/
home: {
2017-05-25 13:06:01 +00:00
pageTitle: "Comunic",
methodHandler: "ComunicWeb.pages.home.home.openHomePage",
2017-05-21 15:25:41 +00:00
disableMenus: false,
2017-01-22 12:03:31 +00:00
},
/**
* User profile page
*/
user: {
pageTitle: "User Page",
methodHandler: "ComunicWeb.pages.userPage.main.open",
disableMenus: false,
},
2018-02-01 05:57:01 +00:00
/**
* Single post page
*/
post: {
pageTitle: "Post",
methodHandler: "ComunicWeb.pages.postPage.main.open",
disableMenus: false
},
2018-02-02 05:56:52 +00:00
/**
* Latest post
*/
latest: {
pageTitle: "Latest",
methodHandler: "ComunicWeb.pages.latestPosts.main.open",
disableMenus: false
},
2018-05-13 12:06:32 +00:00
/**
* Conversations page
*/
conversations: {
pageTitle: "Conversations",
methodHandler: "ComunicWeb.pages.conversations.main.open",
2018-05-16 04:40:26 +00:00
disableMenus: false,
needLogin: true
2018-05-13 12:06:32 +00:00
},
2018-04-12 14:17:41 +00:00
/**
* User settings page
*/
settings: {
pageTitle: "Settings",
methodHandler: "ComunicWeb.pages.settings.main.open",
disableMenus: false
},
2017-02-18 17:37:36 +00:00
/**
* Login page
*/
login: {
pageTitle: "Login page",
methodHandler: "ComunicWeb.pages.login.openLoginPage",
2017-05-21 15:25:41 +00:00
disableMenus: true,
2017-02-18 17:37:36 +00:00
},
2018-04-11 08:10:11 +00:00
/**
* Create account page
*/
create_account: {
pageTitle: "Create an account",
methodHandler: "ComunicWeb.pages.createAccount.openPage",
disableMenus: false
},
2018-04-11 10:25:50 +00:00
/**
* Account created page
*/
account_created: {
pageTitle: "Account created",
methodHandler: "ComunicWeb.pages.accountCreated.open",
disableMenus: false,
},
2017-03-01 14:37:55 +00:00
/**
* Logout page
*/
logout: {
pageTitle: "Logout",
methodHandler: "ComunicWeb.pages.logout.openLogoutPage",
2017-05-24 14:37:41 +00:00
disableMenus: true,
2017-03-01 14:37:55 +00:00
},
2018-05-21 08:05:32 +00:00
/**
* Password forgotten page
*/
forgot_password: {
pageTitle: "Password forgotten",
methodHandler: "ComunicWeb.pages.passwordForgotten.main.open",
disableMenus: false,
},
2018-05-26 13:50:33 +00:00
/**
* Password reset page
*/
reset_password: {
pageTitle: "Reset password",
methodHandler: "ComunicWeb.pages.resetPassword.main.open",
disableMenus: false
},
2017-01-22 12:03:31 +00:00
/**
* 404 Page not found
*/
notFound: {
2017-01-22 17:46:06 +00:00
pageTitle: "404 page not found",
methodHandler: "ComunicWeb.common.error.pageNotFound",
2017-01-22 12:03:31 +00:00
}
};