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.
Ok, so when configuring the date admin/config/regional/date-time labels are missing on the dates. I think it's set in theme_system_date_time_settings(), but only by removing
unset($form['format'][$key]['#title']);
Was I able to add the label, but I couldn't make that label visible too.
Comment | File | Size | Author |
---|---|---|---|
#12 | ui_date_and_time_WTF_fixed.png | 80.56 KB | bfroehle |
#12 | 1014002-1-fix-column-of-invisible.patch | 923 bytes | bfroehle |
#11 | ui_date_and_time_WTF.png | 85.38 KB | bfroehle |
#5 | system_date_label_v2.patch | 858 bytes | mgifford |
#2 | system_date_label_v1.patch | 812 bytes | mgifford |
Comments
Comment #1
mgiffordtagging
Comment #2
mgiffordOk, found the patch that works for this.
Comment #3
mgiffordIt's the same approach used here http://drupal.org/node/884932#comment-3338098
Comment #4
Dries CreditAttribution: Dries commentedNot a fan of those double assignments. Let's split this up over multiple lines please. Thanks!
Comment #5
mgiffordAgreed that looks awkward. Bit better now that it's on two lines.
Comment #6
Bojhan CreditAttribution: Bojhan commentedIt adressed Dries his point
Comment #7
mgiffordYup. It's better now. Thanks.
Comment #8
mgifford#5: system_date_label_v2.patch queued for re-testing.
Comment #9
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #11
bfroehle CreditAttribution: bfroehle commentedThis patch gives me a row of 'invisible'. That cannot possibly be correct.
Comment #12
bfroehle CreditAttribution: bfroehle commentedHere's a suggested patch with the corresponding UI change in the attached image.
Comment #13
bfroehle CreditAttribution: bfroehle commentedComment #14
dwwYeah, splitting onto 2 lines is a good idea, since one of the assignments, namely to $rows[] should never have happened in the first place. ;)
I tested this manually and confirmed the screenshots. This is a serious UI WTF that we should fix before 7.0 ships.
Comment #15
dwwSorry, x-post on the title change. Status is still RTBC.
Comment #16
webchickCommitted to HEAD. Thanks!
Comment #17
mgiffordthat's great news! Thanks everyone! So this will be in the final release of D7?