FSN#41817 Poging om (tiny) lijst duidelijker te maken
svn path=/Website/trunk/; revision=35149
This commit is contained in:
@@ -858,7 +858,8 @@ function mld_list (pautfunction, params)
|
||||
if (!minfo)
|
||||
{
|
||||
rst.addColumn(new Column({caption: L("lcl_vakgroup"), content: "ins_discipline_omschrijving", combine: false}));
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_complain"), content: "mld_stdmelding_omschrijving", combine: true }));
|
||||
if (!tiny) // In tiny we show the stdm with the subject
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_complain"), content: "mld_stdmelding_omschrijving", combine: true }));
|
||||
}
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_date"), content: "mld_melding_datum", datatype: "date", nowrap: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_time"), combine: true, content: "mld_melding_datum", datatype: "time", nowrap: true, nomidnight: true}));
|
||||
@@ -867,13 +868,18 @@ function mld_list (pautfunction, params)
|
||||
if (anygeo) {
|
||||
rst.addColumn(new Column({caption: L("lcl_place"), content: "plaatsmelding"}));
|
||||
}
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_subject"), content: fncolSubject, thClass: 'sorttable_alpha'}));
|
||||
// even 2 printonly kolommen tussendoor
|
||||
if (S("mld_print_loc_address") == 1)
|
||||
rst.addColumn(new Column({caption: L("lcl_location_address"), content: "alg_locatie_adres", purpose: PRINTING_ONLY}));
|
||||
if (minfo)
|
||||
rst.addColumn(new Column({caption: L("lcl_complain"), content: fncolSoortMelding, combine: true, purpose: PRINTING_ONLY}));
|
||||
rst.addColumn(new Column({caption: L("lcl_txt"), content: "mld_melding_omschrijving", combine: true}));
|
||||
if (S("mld_print_loc_address") == 2)
|
||||
rst.addColumn(new Column({caption: L("lcl_complain"), content: fncolSoortMelding, purpose: PRINTING_ONLY}));
|
||||
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_subject"), content: fncolSubject, thClass: "sorttable_alpha"}));
|
||||
if (tiny) // In tiny we show the stdm with the subject
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_complain"), content: "mld_stdmelding_omschrijving", combine: true }));
|
||||
else // In tiny we prefer subject-only, unless our subject is empty
|
||||
rst.addColumn(new Column({caption: L("lcl_txt"), content: "mld_melding_omschrijving", combine: true}));
|
||||
if (S("mld_print_loc_address") == 2)
|
||||
{
|
||||
rst.addColumn(new Column({caption: L("lcl_location_address"), content: "alg_locatie_adres", combine: false}));
|
||||
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_name"), content: "alg_gebouw_naam", combine: true}));
|
||||
|
||||
Reference in New Issue
Block a user