stable

Clone or download

Read-only

Display formatted content in custom columns

This is part of story #8940: have configurable columns based on natures If the format is empty, then the Xref is used. If the format does not contain any %field, then all artifacts are displayed the same. If an artifact cannot be formatted because it does not have every fields required by the format, then the Xref is used instead with a warning sign for the end user. CSV export is not changed (still ids). Change-Id: I71ff3ceeeee5a3881ad44e0b0a31aa88bfd24704

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfLinksFormatter.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactLinkInfo.class.php +13 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_ArtifactLink.class.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/NoFieldToFormatException.php +25 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ReplaceValueVisitor.php +215 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/UnsupportedFieldException.php +25 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ValueFormatter.php +148 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_FieldVisitor.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +23 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PerTrackerArtifactIdclass.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/View/Admin/Visitor.class.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php +21 −2 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/FieldChangeXMLUpdaterVisitor.class.php +4 −0 Go to diff View file
M plugins/tracker/include/autoload.php +6 −2 Go to diff View file
M plugins/tracker/site-content/en_US/script_locale.txt +1 −0 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +2 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/script_locale.txt +1 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +2 −0 Go to diff View file
M plugins/tracker/www/scripts/tracker-report-nature-column.js +5 −0 Go to diff View file
M plugins/tracker/www/themes/FlamingParrot/css/style.less +4 −0 Go to diff View file
M plugins/tracker/www/themes/default/css/style.less +9 −0 Go to diff View file