stable

Clone or download

Read-only

Extract field semantic in mustache to ease introduction of card preview

this is part of story #11543 Use new palette colors as background color in A.D This patch extract the old form (card field add/deletion) in a deidcated mustache. It is a prerequisite needed for the new card display (@see mockup in story) No functionnal changes : you should be able to add/delete card field and you should be able to select a background color field Change-Id: I761700c392eb3e714140b68c5c0c199a6b35ce9f

Modified Files

Name
R plugins/cardwall/include/Semantic/CardFieldsTrackerPresenterBuilder.php Go to diff View file
M plugins/cardwall/include/Semantic/BackgroundColorSelectorPresenter.php +1 −12 Go to diff View file
A plugins/cardwall/include/Semantic/CardFieldXmlExtractor.php +36 −0 Go to diff View file
M plugins/cardwall/include/Semantic/CardFields.class.php +42 −112 Go to diff View file
M plugins/cardwall/include/Semantic/CardFieldsFactory.class.php +6 −35 Go to diff View file
A plugins/cardwall/include/Semantic/CardFieldsPresenterBuilder.php +89 −0 Go to diff View file
A plugins/cardwall/include/Semantic/FieldPresenter.php +61 −0 Go to diff View file
A plugins/cardwall/include/Semantic/SemanticCardPresenter.php +67 −0 Go to diff View file
M plugins/cardwall/include/autoload.php +8 −4 Go to diff View file
A plugins/cardwall/phpunit/carwall/Semantic/CardFieldXmlExtractorTest.php +70 −0 Go to diff View file
M plugins/cardwall/phpunit/carwall/Semantic/CardFieldsTrackerPresenterBuilderTest.php +9 −7 Go to diff View file
M plugins/cardwall/site-content/en_US/cardwall.tab +0 −2 Go to diff View file
M plugins/cardwall/site-content/fr_FR/LC_MESSAGES/tuleap-cardwall.po +15 −0 Go to diff View file
M plugins/cardwall/site-content/fr_FR/cardwall.tab +0 −2 Go to diff View file
M plugins/cardwall/site-content/tuleap-cardwall.pot +15 −0 Go to diff View file
M plugins/cardwall/templates/semantic-card-background-selector.mustache +25 −23 Go to diff View file
A plugins/cardwall/templates/semantic-card-fields.mustache +59 −0 Go to diff View file
A plugins/cardwall/templates/semantic-card.mustache +5 −0 Go to diff View file
D plugins/cardwall/tests/Semantic/CardFieldsFactoryTest.php +0 −60 Go to diff View file
M plugins/cardwall/tests/Semantic/CardFieldsTest.php +7 −5 Go to diff View file