Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Improve the information displayed in the site preview form:
1) Change the term "Viewing" to "Reviewing" - as the workflow is reviewing a current revision
2) Add the version ID to the form -- currently it only says "revision" without referencing the version ID
3) Spacing/layout of the buttons
Suggested revision as displayed in attached screenshot.
Comment | File | Size | Author |
---|---|---|---|
#3 | sps-improve_site_preview_form_ux-1988474-03.patch | 1.87 KB | toddtomlinson |
#1 | improve_site_preview_form_ux-1988474-01.patch | 1.27 KB | toddtomlinson |
Screen Shot 2013-05-06 at 1.19.49 PM.png | 20.92 KB | toddtomlinson |
Comments
Comment #1
toddtomlinson CreditAttribution: toddtomlinson commentedThe following patch provides the improvements to the UX as listed above.
Comment #2
ericduran CreditAttribution: ericduran commentedremove tag.
Comment #3
toddtomlinson CreditAttribution: toddtomlinson commentedAdditional improvements to UX:
1) Changed Reviewing to Previewing
2) Added AM/PM to date/time
3) Bolded the word Previewing
Comment #4
ericduran CreditAttribution: ericduran commentedWe should not target --1&& --2.
At most it should be input {}
That being said are these actually generic? Does it make more sense to actual declare that the button is "primary" vs "secondary" so any theme could style them properly.
Why the "b" tag?.
Also format_date() should be used instead of date().
Also if anything SPS should provide an SPS date format or just used one of the already pre-define format for any site to change it. hard-coding another date format here is just going to result in someone else making a different issue with a format they like.
Same, format_date() over date().