Updated: Comment #N
Problem/Motivation
A profile can set a slogan during installation; On the last step this slogan is misaligned:

Proposed resolution
Format the slogan in a proper manner.
Screenshot from #13 after the patch from #12

Remaining tasks
create patch- (todo) manual testing and screenshot (last done in #13)
- (todo) Code Review (last done in #11)
User interface changes
Style added to align the Slogan
API changes
N/A
Related Issues
N/A
Original report by @patrickd
For testing:
To get the slogan showing in the installer you need to add this line within settings.php
$conf['system.site']['slogan'] = 'slogan';
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | Screen Shot 2013-12-03 at 11.41.38 PM.png | 101.11 KB | webchick |
| #19 | 2043047-20131124-before-patch-01.png | 558.74 KB | Anonymous (not verified) |
| #19 | 2043047-20131124-before-patch-02.png | 453.26 KB | Anonymous (not verified) |
| #19 | 2043047-20131124-after-patch-01.png | 460.44 KB | Anonymous (not verified) |
| #14 | slogan-on-installation-pages-2043047-14.patch | 1.15 KB | bryangullan |
Comments
Comment #1
patrickd commentedComment #2
patrickd commentedComment #3
lewisnymanThe styling for the installation screen is contained in the Seven theme. In my opinion we should allow the slogan to display incase installation profiles but remove the slogan in the Seven theme, ideally using a preprocess function instead of CSS.
Comment #4
littledynamo commentedComment #5
rteijeiro commented@LewisNyman: What about to create an install twig template and use seven_preprocess_install_page?
Comment #6
lewisnymanMaybe we should just style the slogan correctly? I'm happy for it to show if it is somehow set, that is uncommon though.
Comment #7
emma.mariaI have added styles to tidy up the slogan within the installer.
Emma
Comment #8
emma.mariaComment #9
lewisnymanhmm, can we change the id to a class? I don't want to create more work over on #2041793: install-page.html.twig markup and CSS
Comment #10
emma.mariaI have changed site slogan to use a class in the Twig file and amended the selectors in the installer css to reflect this.
Emma
Comment #11
lewisnymanSorry I missed these before but:
There are one too many indentations here.
If we wanted to be really efficient we could remove the last ‘0’ with the same effect.
Comment #12
bryangullan commentedHey,
We're doing a Drupal 8 sprint and came across this - thought we'd make those 2 tweaks for you. Patch attached. Thanks for doing all the actual work tho :-)
Bryan
Comment #13
axlroach commentedNeeds a bit of work... The slogan is still to far to the left during installation. It does appear correctly once you're on the 'Configure site' page.
Comment #14
bryangullan commentedI've been looking at this together with @axlroach and we can only replicate the problem on the Installation profile section on his machine. Can anyone else replicate his issue? If not we're thinking it might be an odd ghost in his machine.
He did spot a missing space before a { in the CSS. Have attached a patch to correct that.
Comment #14.0
bryangullan commentedInstructions on how to test patch
Comment #15
shameemkm commentedUpdating Issue summary By patch functionality.
Comment #16
shameemkm commentedPatch works as mentioned in comment #14
Comment #17
shameemkm commentedComment #18
yesct commented@shameemkm thanks. the image is not showing because of #2125301: %20 in image file names triggers the "local images only" filter
also rearranging things a bit in the issue summary
and, since there is a new patch since the last code review, and screenshot, we need to do both the manual testing and get a new screenshot, and a new code review.
for the manual testing and new screenshot, let's look especially to see if the concern from #13 (too far to the left) was addressed.
Here is the contributor task doc for adding a screenshot, if it helps https://drupal.org/node/1859584. (noticed #2132591: link to docs page (add screenshot) goes to wrong place while trying to get that link)
to make it easier to get reviews (especially re-reviews), please include interdiffs For instructions on creating an interdiff, see https://drupal.org/documentation/git/interdiff
Comment #19
Anonymous (not verified) commentedBefore patching:
Applied patch from #14 to an fresh 8.x.
Seems okay to me.
Comment #20
parthipanramesh commentedLooks good to me aswell. Thank you very much! :)
Comment #21
webchickLooks good! I was curious what this looked like even with a longer slogan and it still looks basically fine:
Committed and pushed to 8.x. Thanks!