mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-28 11:13:36 +01:00
aa6520daac
* Added frontend development files/environment * More items-categories related removals * Improvements in pages templates (inc. static pages) * Improvements in video player * Added empty home page message + cta * Updates in media, playlist and management pages * Improvements in material icons font loading * Replaced media & playlists links in frontend dev-env * frontend package version update * chnaged frontend dev url port * static files update * Changed default position of theme switcher * enabled frontend docker container
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
MediaCMS.url = {
|
|
home: "/",
|
|
search: "/search",
|
|
latestMedia: "/latest",
|
|
featuredMedia: "/featured",
|
|
recommendedMedia: "/recommended",
|
|
members: "/members",
|
|
/* Error pages */
|
|
error404: "/error",
|
|
/* Archive pages */
|
|
tags: "/tags",
|
|
categories: "/categories",
|
|
/* User pages */
|
|
likedMedia: "/liked",
|
|
history: "/history",
|
|
/* Add pages */
|
|
addMedia: "/upload",
|
|
/* Profile/account edit pages */
|
|
editProfile: "{{user.edit_url}}",
|
|
{% if request.user.is_authenticated %}
|
|
signout: "/accounts/logout/",
|
|
editChannel: "{{user.default_channel_edit_url}}",
|
|
changePassword: "/accounts/password/change/",
|
|
/* Administration pages */
|
|
{% if IS_MEDIACMS_ADMIN %}admin: '/admin',{% endif %}
|
|
/* Management pages */
|
|
{% if IS_MEDIACMS_EDITOR %}manageMedia: "/manage/media",{% endif %}
|
|
{% if IS_MEDIACMS_MANAGER %}manageUsers: "/manage/users",{% endif %}
|
|
{% if IS_MEDIACMS_EDITOR %}manageComments: "/manage/comments",{% endif %}
|
|
{% else %}
|
|
signin: "/accounts/login/",
|
|
register: "/accounts/signup/",
|
|
{% endif %}
|
|
};
|