From 0bd93254dff91aabb812a16e6ba7ad803e67eca5 Mon Sep 17 00:00:00 2001 From: Peter Feij Date: Tue, 13 Dec 2016 08:28:13 +0000 Subject: [PATCH] FSN#35094 Opfrissen icon-set svn path=/Website/trunk/; revision=31941 --- APPL/FAC/prodsearch.asp | 23 +++++++++++++---------- APPL/FAC/prodsearch.inc | 10 +++++----- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/APPL/FAC/prodsearch.asp b/APPL/FAC/prodsearch.asp index 8d0ee62012..88f4e54477 100644 --- a/APPL/FAC/prodsearch.asp +++ b/APPL/FAC/prodsearch.asp @@ -186,18 +186,18 @@ function fncolAction(oRs) var hint = ""; switch (module) { case "mlddisc": - icon = "../Pictures/wijzigen_p.png"; + icon = "fa-comment-o"; hint = L("lcl_do_melding_hint"); break; case "mldstdm": - icon = "../Pictures/wijzigen_p.png"; + icon = "fa-comment-o"; if (oRs.Fields("foto").Value != null){ icon = S("mlds_image_path") + oRs.Fields("foto").Value; } hint = L("lcl_do_melding_hint"); break; case "resruimte": - icon = "../Pictures/house_p.png"; + icon = "fa-map-marker"; if (oRs.Fields("foto").Value != null) { icon = oRs.Fields("foto").Value; @@ -207,7 +207,7 @@ function fncolAction(oRs) hint = L("lcl_do_reservering_hint"); break; case "resartikel": - icon = "../Pictures/cake_p.png"; + icon = "fa-cutlery"; if (oRs.Fields("foto").Value != null) { icon = oRs.Fields("foto").Value; @@ -217,7 +217,7 @@ function fncolAction(oRs) hint = L("lcl_do_reservering_hint"); break; case "resdeel": - icon = "../Pictures/television_p.png"; + icon = "fa-bullhorn"; if (oRs.Fields("foto").Value != null) { icon = oRs.Fields("foto").Value; @@ -229,7 +229,7 @@ function fncolAction(oRs) case "bescatalogus": case "besartikelgroep": case "besartikel": - icon = "../Pictures/cart_p.png"; + icon = "fa-cart-plus"; if (oRs.Fields("foto").Value != null) { @@ -245,7 +245,7 @@ function fncolAction(oRs) hint = L("lcl_do_bestelling_hint"); break; case "faq": - icon = "../Pictures/book_open_p.png"; + icon = "fa-book"; hint = L("lcl_faq_item"); break; case "prsperslid": @@ -254,7 +254,10 @@ function fncolAction(oRs) hint = L("lcl_person"); break; } - return ''; + if (icon.match(/^fa-/)) + return "".format(icon, safe.htmlattr(hint)); + else + return ""; } function fncolProduct(oRs) @@ -519,7 +522,7 @@ function suggest_box_resruimte (titel, histograms, kolom, params) break; } - var txt = "    "; + var txt = "    "; Response.Write(txt); var txt = /* lbl + ": " + */ "" + safe.html(xx) + ""; 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({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:fncolPrijs, datatype: "currency", combine:true})); if (filter.soort.val == "resruimte" && filter.date_from_ms.val>0) diff --git a/APPL/FAC/prodsearch.inc b/APPL/FAC/prodsearch.inc index c6601b9db8..3a30af0ed5 100644 --- a/APPL/FAC/prodsearch.inc +++ b/APPL/FAC/prodsearch.inc @@ -136,7 +136,7 @@ function prodsearch_queries(write_discs, filter) +lcl.xsql('mld_stdmelding_hint','mld_stdmelding_key')+"||', '||" +lcl.xsql('d.ins_discipline_omschrijving','d.ins_discipline_key') +"||', '||" +lcl.xsql('sd.ins_srtdiscipline_omschrijving', 'sd.ins_srtdiscipline_key') +")", supper), - icon : "fa-edit", + icon : "fa-comment-o", vakgroep: L("lcl_vakgroup"), intern: L("lcl_srch_meldingen"), 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 :"") + 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"), histogram: { "ins_discipline_omschrijving": { lcl: L("lcl_res_roomcat") }, "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 res_srtactiviteit_soort = 1)" + " 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") } @@ -317,7 +317,7 @@ function prodsearch_queries(write_discs, filter) + " AND res_srtactiviteit_soort = 1)" // Alleen CV + reslocstr, ///doet de 3d wel + (reslocstr!=""?" AND g.alg_locatie_key IN ("+reslocstr+")":"") - icon : "fa-television", + icon : "fa-bullhorn", intern: L("lcl_srch_resdeel") } @@ -439,7 +439,7 @@ function prodsearch_queries(write_discs, filter) queries['faq'] = { sql: fsql - , icon : "fa-question" + , icon : "fa-book" , intern : L("lcl_faq_item") } }