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.
Theres a number of redundancies in the maintenance-page.tpl.php - regions that never get printed including $page_top and $page_bottom (not even included in cores maintenance-page.tpl.php).
The conditional logic for the site name is also redundant - maintenance page always have titles afaict.
Also needs a white space cleanup (some redundant extra lines).
Comment | File | Size | Author |
---|---|---|---|
#4 | drupal-bartik-903046-4.patch | 4.92 KB | tim.plunkett |
bartik-maintenance-page-cleanup.patch | 4.98 KB | Jeff Burnz | |
Comments
Comment #1
bleen CreditAttribution: bleen commentedI like when there are so many more -'s than +'s :)
why can this be combined into one div? Havent thought this out too much
<div id="header"><div class="section clearfix">
Comment #2
jensimmons CreditAttribution: jensimmons commentedAh I wish I'd seen this issue before I cleaned up a bit of the markup while doing #790556: Make the Maintenance Page Kick Ass
I'm going to retest it. It might need to be rerolled.
Comment #3
jensimmons CreditAttribution: jensimmons commentedbartik-maintenance-page-cleanup.patch queued for re-testing.
Comment #4
tim.plunkettReroll!
Comment #5
idflood CreditAttribution: idflood commentedLooks ok for me. I really like this patch. Same look and functionality while going from 43 lines down to 27.
Comment #6
tim.plunkettMine really was just a reroll of Jeff's patch, I feel comfortable RTBC-ing this.
Comment #7
bleen CreditAttribution: bleen commentedI second...
RTBC++
Comment #8
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks! :)