FCLT#67256 de blokken in modellen met multicolumn: true een label & icon gegeven
svn path=/Website/trunk/; revision=51930
This commit is contained in:
@@ -531,7 +531,7 @@ prs.checkAutorisation(prs_key);
|
||||
|
||||
if (itsme && notis.canany)
|
||||
{
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bells"} );
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bell-on"} );
|
||||
if (thisUser.noti_niks() == 1 || thisUser.noti_portal() == 1 || thisUser.noti_email() == 1 || thisUser.noti_sms() == 1 || thisUser.noti_popup() == 1)
|
||||
{
|
||||
CHECKBOXTR(L("lcl_noti_niks"), "fldfacnoti", "noti0", thisUser.noti_niks(), { html: " disabled" });
|
||||
|
||||
@@ -46,6 +46,7 @@ scaffolding(this_model,
|
||||
"block": [
|
||||
{ "blockid": "besBes",
|
||||
"label": L("bes_discipline"),
|
||||
"icon": "fa-book-open",
|
||||
"ishtmlsafe": true,
|
||||
"hidden": false,
|
||||
"buttons": [],
|
||||
@@ -68,6 +69,7 @@ scaffolding(this_model,
|
||||
{
|
||||
"blockid": "besBehandel",
|
||||
"label": L("bes_discipline_behandeling"),
|
||||
"icon": "fa-clock",
|
||||
"fields": [
|
||||
"deliverytime",
|
||||
"expiretime",
|
||||
@@ -89,6 +91,7 @@ scaffolding(this_model,
|
||||
{
|
||||
"blockid": "besNoti",
|
||||
"label": L("bes_discipline_notification"),
|
||||
"icon": "fa-bell-on",
|
||||
"ishtmlsafe": true,
|
||||
"hidden": false,
|
||||
"buttons": [],
|
||||
@@ -100,6 +103,7 @@ scaffolding(this_model,
|
||||
},
|
||||
{ "blockid": "besFin",
|
||||
"label": L("bes_discipline_financien"),
|
||||
"icon": "fa-euro-sign",
|
||||
"ishtmlsafe": true,
|
||||
"hidden": false,
|
||||
"buttons": [],
|
||||
@@ -120,6 +124,7 @@ scaffolding(this_model,
|
||||
{
|
||||
"blockid": "besOverig",
|
||||
"label": L("bes_discipline_overig"),
|
||||
"icon": "fa-plus",
|
||||
"fields": [
|
||||
"subscription",
|
||||
"contractdisciplines",
|
||||
@@ -132,6 +137,7 @@ scaffolding(this_model,
|
||||
},
|
||||
{ "blockid": "besMtch",
|
||||
"label": L("bes_discipline_match"),
|
||||
"icon": "fa-file-check",
|
||||
"ishtmlsafe": true,
|
||||
"hidden": false,
|
||||
"buttons": [],
|
||||
|
||||
@@ -17,7 +17,7 @@ if (mode == 'list')
|
||||
{
|
||||
Oracle.Execute("alter session set nls_comp = 'LINGUISTIC' NLS_SORT = 'BINARY_AI'"); // Zodat m<>ller gevonden wordt
|
||||
}
|
||||
var this_model = new model_prs_perslid({ readonly: true, prs_key: prs_key, init_subtab: 1 }); // We willen hier niet via de interface bewerken
|
||||
var this_model = new model_prs_perslid({ readonly: true, prs_key: prs_key }); // We willen hier niet via de interface bewerken
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
|
||||
@@ -35,6 +35,18 @@
|
||||
js: ["./ins_discipline.js"]
|
||||
}
|
||||
},
|
||||
"layout": {
|
||||
"block": [
|
||||
{
|
||||
"icon": "fa-book-open",
|
||||
"label": L("res_discipline")
|
||||
},
|
||||
{
|
||||
"icon": "fa-books-medical",
|
||||
"label": L("lcl_prs_details")
|
||||
}
|
||||
]
|
||||
},
|
||||
"wrap": {
|
||||
"frames": [
|
||||
{
|
||||
|
||||
@@ -417,7 +417,7 @@ var notis = prs.check4notis();
|
||||
|
||||
if (prs_key > 0 && (prs_key == user_key || prsauthparams.writesys || prsauthparams.writeman) && notis.canany )
|
||||
{
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bells"} );
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bell-on"} );
|
||||
CHECKBOXTR(L("lcl_noti_niks"), "fldfacnoti", "noti0", thisUser.noti_niks());
|
||||
if (notis.can1) CHECKBOXTR(L("lcl_noti_portal"), "fldfacnoti", "noti1", thisUser.noti_portal());
|
||||
if (notis.can2) CHECKBOXTR(L("lcl_noti_email"), "fldfacnoti", "noti2", thisUser.noti_email());
|
||||
|
||||
@@ -502,7 +502,7 @@ if (res_authparams)
|
||||
|
||||
if ((prs_key == user_key || prsauthparams.writesys || prsauthparams.writeman) && notis.canany)
|
||||
{
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bells"} );
|
||||
BLOCK_START("prsNoti", L("lcl_noti_prsvoorkeur"), { icon: "fa-bell-on"} );
|
||||
if (prs_user.noti_niks() == 1 || prs_user.noti_portal() == 1 || prs_user.noti_email() == 1 || prs_user.noti_sms() == 1 || prs_user.noti_popup() == 1)
|
||||
{
|
||||
CHECKBOXTR(L("lcl_noti_niks"), "fldfacnoti", "noti0", prs_user.noti_niks(), { html: " disabled" });
|
||||
|
||||
Reference in New Issue
Block a user