Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #20887 [Form] DateIntervalType: Allow to configure labels & e…
…nhance form theme (ogizanagi) This PR was merged into the 3.3-dev branch. Discussion ---------- [Form] DateIntervalType: Allow to configure labels & enhance form theme | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no (unless someone relies on this non themed type) | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | Should document the new `labels` option I just realized by using it for last fixes in #20886 and #20877 that this type was not really themed: ### before <img width="861" alt="screenshot 2016-12-13 a 00 54 35" src="https://cloud.githubusercontent.com/assets/2211145/21121792/c589d27a-c0ce-11e6-8368-a396fda3bc7a.PNG"> At least labels should appear, but this also means being able to change them (thus the new `labels` option). I think the form themes should provide a functional & minimalistic integration like this: ### after <img width="862" alt="screenshot 2016-12-13 a 00 54 17" src="https://cloud.githubusercontent.com/assets/2211145/21121814/d9c4ead6-c0ce-11e6-94e1-41e6c14884a7.PNG"> --- (On screenshots above, I've only added a css rule to remove the 100% width of the `.table` class. See #20887 (comment)) Commits ------- bfd9e50 [Form] DateIntervalType: Allow to configure labels & enhance form theme
- Loading branch information
Showing
4 changed files
with
122 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters