update
This commit is contained in:
@@ -1001,16 +1001,6 @@ function BuildQR(mid, label) {
|
|||||||
var PAGES = {};
|
var PAGES = {};
|
||||||
var PERMS = {
|
var PERMS = {
|
||||||
"ADMIN": "Administrador",
|
"ADMIN": "Administrador",
|
||||||
"materiales": "Materiales",
|
|
||||||
"materiales:edit": "> Editar",
|
|
||||||
"personas": "Personas",
|
|
||||||
"personas:edit": "> Editar",
|
|
||||||
"supercafe": "SuperCafé",
|
|
||||||
"supercafe:edit": "> Editar",
|
|
||||||
"avisos": "Avisos",
|
|
||||||
"avisos:edit": "> Editar",
|
|
||||||
"comedor": "Menú comedor",
|
|
||||||
"comedor:edit": "> Editar"
|
|
||||||
};
|
};
|
||||||
function checkRole(role) {
|
function checkRole(role) {
|
||||||
var roles = SUB_LOGGED_IN_DETAILS.Roles || ""
|
var roles = SUB_LOGGED_IN_DETAILS.Roles || ""
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
PERMS["avisos"] = "Avisos"
|
||||||
|
PERMS["avisos:edit"] = "> Editar"
|
||||||
PAGES.avisos = {
|
PAGES.avisos = {
|
||||||
navcss: "btn5",
|
navcss: "btn5",
|
||||||
icon: "static/appico/Chat.svg",
|
icon: "static/appico/Chat.svg",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
PERMS["comedor"] = "Menú comedor"
|
||||||
|
PERMS["comedor:edit"] = "> Editar"
|
||||||
PAGES.comedor = {
|
PAGES.comedor = {
|
||||||
navcss: "btn6",
|
navcss: "btn6",
|
||||||
icon: "static/appico/Meal.svg",
|
icon: "static/appico/Meal.svg",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
PERMS["materiales"] = "Materiales"
|
||||||
|
PERMS["materiales:edit"] = "> Editar"
|
||||||
PAGES.materiales = {
|
PAGES.materiales = {
|
||||||
navcss: "btn2",
|
navcss: "btn2",
|
||||||
icon: "static/appico/App_Dropbox.svg",
|
icon: "static/appico/App_Dropbox.svg",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
PERMS["personas"] = "Personas"
|
||||||
|
PERMS["personas:edit"] = "> Editar"
|
||||||
PAGES.personas = {
|
PAGES.personas = {
|
||||||
navcss: "btn3",
|
navcss: "btn3",
|
||||||
icon: "static/appico/File_Person.svg",
|
icon: "static/appico/File_Person.svg",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
PERMS["supercafe"] = "SuperCafé"
|
||||||
|
PERMS["supercafe:edit"] = "> Editar"
|
||||||
PAGES.supercafe = {
|
PAGES.supercafe = {
|
||||||
navcss: "btn4",
|
navcss: "btn4",
|
||||||
icon: "static/appico/Coffee.svg",
|
icon: "static/appico/Coffee.svg",
|
||||||
|
|||||||
Reference in New Issue
Block a user