@@ -186,18 +186,18 @@ function fncolAction(oRs)
|
|||||||
var hint = "";
|
var hint = "";
|
||||||
switch (module) {
|
switch (module) {
|
||||||
case "mlddisc":
|
case "mlddisc":
|
||||||
icon = "../Pictures/wijzigen_p.png";
|
icon = "fa-comment-o";
|
||||||
hint = L("lcl_do_melding_hint");
|
hint = L("lcl_do_melding_hint");
|
||||||
break;
|
break;
|
||||||
case "mldstdm":
|
case "mldstdm":
|
||||||
icon = "../Pictures/wijzigen_p.png";
|
icon = "fa-comment-o";
|
||||||
if (oRs.Fields("foto").Value != null){
|
if (oRs.Fields("foto").Value != null){
|
||||||
icon = S("mlds_image_path") + oRs.Fields("foto").Value;
|
icon = S("mlds_image_path") + oRs.Fields("foto").Value;
|
||||||
}
|
}
|
||||||
hint = L("lcl_do_melding_hint");
|
hint = L("lcl_do_melding_hint");
|
||||||
break;
|
break;
|
||||||
case "resruimte":
|
case "resruimte":
|
||||||
icon = "../Pictures/house_p.png";
|
icon = "fa-map-marker";
|
||||||
if (oRs.Fields("foto").Value != null)
|
if (oRs.Fields("foto").Value != null)
|
||||||
{
|
{
|
||||||
icon = oRs.Fields("foto").Value;
|
icon = oRs.Fields("foto").Value;
|
||||||
@@ -207,7 +207,7 @@ function fncolAction(oRs)
|
|||||||
hint = L("lcl_do_reservering_hint");
|
hint = L("lcl_do_reservering_hint");
|
||||||
break;
|
break;
|
||||||
case "resartikel":
|
case "resartikel":
|
||||||
icon = "../Pictures/cake_p.png";
|
icon = "fa-cutlery";
|
||||||
if (oRs.Fields("foto").Value != null)
|
if (oRs.Fields("foto").Value != null)
|
||||||
{
|
{
|
||||||
icon = oRs.Fields("foto").Value;
|
icon = oRs.Fields("foto").Value;
|
||||||
@@ -217,7 +217,7 @@ function fncolAction(oRs)
|
|||||||
hint = L("lcl_do_reservering_hint");
|
hint = L("lcl_do_reservering_hint");
|
||||||
break;
|
break;
|
||||||
case "resdeel":
|
case "resdeel":
|
||||||
icon = "../Pictures/television_p.png";
|
icon = "fa-bullhorn";
|
||||||
if (oRs.Fields("foto").Value != null)
|
if (oRs.Fields("foto").Value != null)
|
||||||
{
|
{
|
||||||
icon = oRs.Fields("foto").Value;
|
icon = oRs.Fields("foto").Value;
|
||||||
@@ -229,7 +229,7 @@ function fncolAction(oRs)
|
|||||||
case "bescatalogus":
|
case "bescatalogus":
|
||||||
case "besartikelgroep":
|
case "besartikelgroep":
|
||||||
case "besartikel":
|
case "besartikel":
|
||||||
icon = "../Pictures/cart_p.png";
|
icon = "fa-cart-plus";
|
||||||
|
|
||||||
if (oRs.Fields("foto").Value != null)
|
if (oRs.Fields("foto").Value != null)
|
||||||
{
|
{
|
||||||
@@ -245,7 +245,7 @@ function fncolAction(oRs)
|
|||||||
hint = L("lcl_do_bestelling_hint");
|
hint = L("lcl_do_bestelling_hint");
|
||||||
break;
|
break;
|
||||||
case "faq":
|
case "faq":
|
||||||
icon = "../Pictures/book_open_p.png";
|
icon = "fa-book";
|
||||||
hint = L("lcl_faq_item");
|
hint = L("lcl_faq_item");
|
||||||
break;
|
break;
|
||||||
case "prsperslid":
|
case "prsperslid":
|
||||||
@@ -254,7 +254,10 @@ function fncolAction(oRs)
|
|||||||
hint = L("lcl_person");
|
hint = L("lcl_person");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return '<img class="details" height="100" src="' + icon +'" title="'+ hint + '">';
|
if (icon.match(/^fa-/))
|
||||||
|
return "<i class='fa fa-fw prodicon {0}' title='{1}'></i>".format(icon, safe.htmlattr(hint));
|
||||||
|
else
|
||||||
|
return "<img class='details prodimg' src='" + icon + "' title='"+ safe.htmlattr(hint) + "'>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncolProduct(oRs)
|
function fncolProduct(oRs)
|
||||||
@@ -519,7 +522,7 @@ function suggest_box_resruimte (titel, histograms, kolom, params)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
var txt = "<span class='removetag' title='"+L("lcl_srch_remove")+"' onclick='refresh_filter({"+item+": \"\"})'> </span>";
|
var txt = "<span class='fa fa-times fa-fw removetag' title='"+L("lcl_srch_remove")+"' onclick='refresh_filter({"+item+": \"\"})'> </span>";
|
||||||
Response.Write(txt);
|
Response.Write(txt);
|
||||||
var txt = /* lbl + ": " + */ "<span class='tag'>" + safe.html(xx) + "</span>";
|
var txt = /* lbl + ": " + */ "<span class='tag'>" + safe.html(xx) + "</span>";
|
||||||
Response.Write(txt);
|
Response.Write(txt);
|
||||||
@@ -555,7 +558,7 @@ function suggest_box_resruimte (titel, histograms, kolom, params)
|
|||||||
});
|
});
|
||||||
|
|
||||||
rst.addColumn(new Column({hasActions: true, caption:"", content:fncolAction, align: "center" }));
|
rst.addColumn(new Column({hasActions: true, caption:"", content:fncolAction, align: "center" }));
|
||||||
rst.addColumn(new Column({caption: L("lcl_descr"), content:fncolProduct}));
|
rst.addColumn(new Column({caption: "", content:fncolProduct}));
|
||||||
rst.addColumn(new Column({caption: "", content: fncolType, combine:true}));
|
rst.addColumn(new Column({caption: "", content: fncolType, combine:true}));
|
||||||
rst.addColumn(new Column({caption: "", content:fncolPrijs, datatype: "currency", combine:true}));
|
rst.addColumn(new Column({caption: "", content:fncolPrijs, datatype: "currency", combine:true}));
|
||||||
if (filter.soort.val == "resruimte" && filter.date_from_ms.val>0)
|
if (filter.soort.val == "resruimte" && filter.date_from_ms.val>0)
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ function prodsearch_queries(write_discs, filter)
|
|||||||
+lcl.xsql('mld_stdmelding_hint','mld_stdmelding_key')+"||', '||"
|
+lcl.xsql('mld_stdmelding_hint','mld_stdmelding_key')+"||', '||"
|
||||||
+lcl.xsql('d.ins_discipline_omschrijving','d.ins_discipline_key') +"||', '||"
|
+lcl.xsql('d.ins_discipline_omschrijving','d.ins_discipline_key') +"||', '||"
|
||||||
+lcl.xsql('sd.ins_srtdiscipline_omschrijving', 'sd.ins_srtdiscipline_key') +")", supper),
|
+lcl.xsql('sd.ins_srtdiscipline_omschrijving', 'sd.ins_srtdiscipline_key') +")", supper),
|
||||||
icon : "fa-edit",
|
icon : "fa-comment-o",
|
||||||
vakgroep: L("lcl_vakgroup"),
|
vakgroep: L("lcl_vakgroup"),
|
||||||
intern: L("lcl_srch_meldingen"),
|
intern: L("lcl_srch_meldingen"),
|
||||||
histogram: { "ins_srtdiscipline_omschrijving": { lcl: L("lcl_mld_vakgroeptype") },
|
histogram: { "ins_srtdiscipline_omschrijving": { lcl: L("lcl_mld_vakgroeptype") },
|
||||||
@@ -212,7 +212,7 @@ function prodsearch_queries(write_discs, filter)
|
|||||||
" AND " + sati_sql + " >= " + filter.satisfaction.val :"")
|
" AND " + sati_sql + " >= " + filter.satisfaction.val :"")
|
||||||
+ reslocstr,
|
+ reslocstr,
|
||||||
///doet de 3d wel + (reslocstr!=""?" AND g.alg_locatie_key IN ("+reslocstr+")":"")
|
///doet de 3d wel + (reslocstr!=""?" AND g.alg_locatie_key IN ("+reslocstr+")":"")
|
||||||
icon : "fa-location-arrow",
|
icon : "fa-map-marker",
|
||||||
intern: L("lcl_srch_vergaderruimtes"),
|
intern: L("lcl_srch_vergaderruimtes"),
|
||||||
histogram: { "ins_discipline_omschrijving": { lcl: L("lcl_res_roomcat") },
|
histogram: { "ins_discipline_omschrijving": { lcl: L("lcl_res_roomcat") },
|
||||||
"alg_locatie_plaats": { lcl: L("lcl_location") },
|
"alg_locatie_plaats": { lcl: L("lcl_location") },
|
||||||
@@ -269,7 +269,7 @@ function prodsearch_queries(write_discs, filter)
|
|||||||
+ " AND ra.res_srtactiviteit_key = rsa.res_srtactiviteit_key"
|
+ " AND ra.res_srtactiviteit_key = rsa.res_srtactiviteit_key"
|
||||||
+ " AND res_srtactiviteit_soort = 1)"
|
+ " AND res_srtactiviteit_soort = 1)"
|
||||||
+ " AND d.ins_discipline_key IN (SELECT res_discipline_key FROM res_v_srtartikel_onrgoed rsao)", // Alleen CV
|
+ " AND d.ins_discipline_key IN (SELECT res_discipline_key FROM res_v_srtartikel_onrgoed rsao)", // Alleen CV
|
||||||
icon : "fa-birthday-cake",
|
icon : "fa-cutlery",
|
||||||
intern: L("lcl_srch_verbruiksartikelen")
|
intern: L("lcl_srch_verbruiksartikelen")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -317,7 +317,7 @@ function prodsearch_queries(write_discs, filter)
|
|||||||
+ " AND res_srtactiviteit_soort = 1)" // Alleen CV
|
+ " AND res_srtactiviteit_soort = 1)" // Alleen CV
|
||||||
+ reslocstr,
|
+ reslocstr,
|
||||||
///doet de 3d wel + (reslocstr!=""?" AND g.alg_locatie_key IN ("+reslocstr+")":"")
|
///doet de 3d wel + (reslocstr!=""?" AND g.alg_locatie_key IN ("+reslocstr+")":"")
|
||||||
icon : "fa-television",
|
icon : "fa-bullhorn",
|
||||||
intern: L("lcl_srch_resdeel")
|
intern: L("lcl_srch_resdeel")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -439,7 +439,7 @@ function prodsearch_queries(write_discs, filter)
|
|||||||
|
|
||||||
queries['faq'] =
|
queries['faq'] =
|
||||||
{ sql: fsql
|
{ sql: fsql
|
||||||
, icon : "fa-question"
|
, icon : "fa-book"
|
||||||
, intern : L("lcl_faq_item")
|
, intern : L("lcl_faq_item")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user