stable
Clone or download
Part of story #11542 - Update tracker "color picker" to have beautiful colors to associate with select box values How to test: - In a cardwall admin, set up some tlp and legacy colors for the columns headers. - Export the configuration - Open the xml file --> In <project><cardwall><tracker><columns>, you should see the different colors assigned to the columns of your cardwalls. For instance: <columns> <column label="Column a" id="C53" bg_red="153" bg_green="51" bg_blue="204"/> <column label="Column b" id="C54" bg_red="255" bg_green="51" bg_blue="153"/> <column label="Column c" id="C55" tlp_color_name="neon-green"/> <column label="Column d" id="C56" tlp_color_name="fiesta-red"/> </columns> - Go to a project without any tracker - Go to the cardwall admin and import the previous xml file. --> Import should be a success --> Columns have the right colors in the cardwall Change-Id: Iae8c88ad5c1368fb5f96c45bc8fb36ead0557642
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/cardwall/include/CardwallConfigXml.class.php | +8 | −7 | Go to diff View file |
M | plugins/cardwall/include/CardwallConfigXmlExport.class.php | +7 | −2 | Go to diff View file |
M | plugins/cardwall/include/CardwallConfigXmlImport.class.php | +43 | −13 | Go to diff View file |
M | plugins/cardwall/include/OnTop/ColumnDao.class.php | +11 | −0 | Go to diff View file |
M | plugins/cardwall/tests/CardwallConfigXmlExportTest.php | +9 | −7 | Go to diff View file |
M | plugins/cardwall/tests/CardwallConfigXmlImportTest.php | +9 | −5 | Go to diff View file |
M | plugins/cardwall/www/resources/xml_project_cardwall_data.rnc | +7 | −4 | Go to diff View file |
M | plugins/cardwall/www/resources/xml_project_cardwall_data.rng | +25 | −15 | Go to diff View file |
M | src/common/xml/resources/project/xml_project_cardwall_data.rng | +25 | −15 | Go to diff View file |