Remove unneeded descriptions or replace with help text from Edit Contribution Page & Event #26257
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The Edit Contribution Page and Edit Event Registration forms are pretty busy and cluttered. Many of the descriptions on those pages are either redundant, basically just putting the field name in a sentence which doesn't add anything, or would be better as help text, so that it can be found if needed, but doesn't overwhelm users with small grey text.
To hopefully make these pages a little easier to use and a little easier on the eyes, I've made a start on this, covering the main tabs on these pages. I will continue in another PR to cover the remaining tabs, and perhaps some other forms, as long as this PR is supported.
Before
For example:
After
Technical Details
On Contribution Page > Amounts I thought the little wrench icon that you can click to edit an Option Group would make sense to allow editing of Price Sets, since this is pretty similar. I don't think there is an automatic way to do this, so I've done it manually. I think it's better than
Create or edit Price Sets here
with a link.The help text here should also be the only new translation string required (it needed updating anyways, as select -none- no longer makes sense with a select2).
Comments
I tried to clean up the formatting of the tpl files a little as I went, on the leave it better than you found it theory, so this looks like more change than it actually is. Some of this is just making the line breaks and indents for tr and td tags a little more consistent.