[Django] #28885: Bottom parts of "Congratulations!" page cut off internationalized content

8 views
Skip to first unread message

Django

unread,
Dec 4, 2017, 4:14:19 PM12/4/17
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej | Owner: nobody
Olko |
Type: Bug | Status: new
Component: Core | Version: 2.0
(Other) | Keywords: i18n, template,
Severity: Normal | defaults
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------+-------------------------------------
Bottom parts (footer) of "Congratulations!" page[1] (rocket taking
off/default urlconf) cut off text if it is too long. It happens for e.g.
Russian and Lower Serbian languages. Screenshots:
[[Image(https://screenshots.firefox.com/H4OzOchrVQCvNp5e/localhost)]]
[[Image(https://screenshots.firefox.com/dG8BTsWHB4s0F2pL/localhost)]]

For many other languages, the problem is more of just esthetic nature, as
the padding to the bottom of page is not equal to the footer top ruler (if
translations aren't one-liners in effect).

The footer shouldn't have fixed height. I am afraid that some JavaScript
is neccessary to calculate footer's height if we are about to keep the
layout.

[1] django/django/views/templates/default_urlconf.html

--
Ticket URL: <https://code.djangoproject.com/ticket/28885>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 5, 2017, 10:44:28 AM12/5/17
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* cc: FlipperPA (added)
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:1>

Django

unread,
Dec 5, 2017, 3:12:26 PM12/5/17
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Timothy
| Allen
Type: Bug | Status: assigned

Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Timothy Allen):

* owner: nobody => Timothy Allen
* status: new => assigned


Comment:

We will tweak the design so it works in more languages, and test with
Google Translate. Thanks for the catch!

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:2>

Django

unread,
Dec 5, 2017, 4:41:02 PM12/5/17
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Timothy
| Allen
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Old description:

> Bottom parts (footer) of "Congratulations!" page[1] (rocket taking
> off/default urlconf) cut off text if it is too long. It happens for e.g.
> Russian and Lower Serbian languages. Screenshots:
> [[Image(https://screenshots.firefox.com/H4OzOchrVQCvNp5e/localhost)]]
> [[Image(https://screenshots.firefox.com/dG8BTsWHB4s0F2pL/localhost)]]
>
> For many other languages, the problem is more of just esthetic nature, as
> the padding to the bottom of page is not equal to the footer top ruler
> (if translations aren't one-liners in effect).
>
> The footer shouldn't have fixed height. I am afraid that some JavaScript
> is neccessary to calculate footer's height if we are about to keep the
> layout.
>
> [1] django/django/views/templates/default_urlconf.html

New description:

Bottom parts (footer) of "Congratulations!" page[1] (rocket taking
off/default urlconf) cut off text if it is too long. It happens for e.g.
Russian and Lower Serbian languages. Screenshots:
[[Image(https://screenshots.firefox.com/H4OzOchrVQCvNp5e/localhost)]]
[[Image(https://screenshots.firefox.com/dG8BTsWHB4s0F2pL/localhost)]]

For many other languages, the problem is more of just esthetic nature, as

the padding to the bottom of page is not equal to padding to the footer


top ruler (if translations aren't one-liners in effect).

The footer shouldn't have fixed height. I am afraid that some JavaScript
is neccessary to calculate footer's height if we are about to keep the
layout.

[1] django/django/views/templates/default_urlconf.html

--

Comment (by Maciej Olko):

You can also test it with official Django translations, by just changing
the [https://docs.djangoproject.com/en/1.11/ref/settings/#language-code
LANGUAGE_CODE setting]. Language codes that have longest translations
(AFAIK) are "ru" and "dsb".

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:3>

Django

unread,
Jan 10, 2018, 6:55:29 AM1/10/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Timothy
| Allen
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Himanshu Chauhan):

I have tweaked the CSS of the web page so that it does not change original
design and fix the mentioned bug. Can I claim this ticket and submit the
patch?

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:4>

Django

unread,
Jan 10, 2018, 9:59:47 AM1/10/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Timothy
| Allen
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Timothy Allen):

Replying to [comment:4 Himanshu Chauhan]:


> I have tweaked the CSS of the web page so that it does not change
original design and fix the mentioned bug. Can I claim this ticket and
submit the patch?

Absolutely! My colleague and I were working on a fix, but if you've got
something complete, by all means take the ticket and issue a P.R. Thanks
so much!

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:5>

Django

unread,
Jan 10, 2018, 10:05:04 AM1/10/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: (none)
Type: Bug | Status: new

Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Timothy Allen):

* owner: Timothy Allen => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:6>

Django

unread,
Jan 10, 2018, 10:23:22 AM1/10/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Himanshu
| Chauhan
Type: Bug | Status: assigned

Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Himanshu Chauhan):

* owner: (none) => Himanshu Chauhan


* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:7>

Django

unread,
Jan 11, 2018, 12:43:56 AM1/11/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Himanshu
| Chauhan
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Accepted
defaults |
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Himanshu Chauhan):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/9570 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:8>

Django

unread,
Jan 11, 2018, 3:59:05 AM1/11/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Himanshu
| Chauhan
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: i18n, template, | Triage Stage: Ready for
defaults | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Accepted => Ready for checkin


Comment:

The patch looks good. (Screenshots on PR)

The commit message does not quite match the guidelines, but could be
adjusted when merging.

Need to confirm Himanshu submitted the CLA.

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:9>

Django

unread,
Jan 12, 2018, 7:55:28 PM1/12/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Himanshu
| Chauhan
Type: Bug | Status: closed

Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: i18n, template, | Triage Stage: Ready for
defaults | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"1b753b2d60230974e7d537ddacbcc1ad23348e7c" 1b753b2]:
{{{
#!CommitTicketReference repository=""
revision="1b753b2d60230974e7d537ddacbcc1ad23348e7c"
Fixed #28885 -- Fixed hidden content at the bottom of the "The install
worked successfully!" page for some languages.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:10>

Django

unread,
Jan 12, 2018, 7:55:29 PM1/12/18
to django-...@googlegroups.com
#28885: Bottom parts of "Congratulations!" page cut off internationalized content
-------------------------------------+-------------------------------------
Reporter: Maciej Olko | Owner: Himanshu
| Chauhan
Type: Bug | Status: closed
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: i18n, template, | Triage Stage: Ready for
defaults | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"cc1bdce6740251d33d20dfdf27e2340e4cee0f56" cc1bdce6]:
{{{
#!CommitTicketReference repository=""
revision="cc1bdce6740251d33d20dfdf27e2340e4cee0f56"
[2.0.x] Fixed #28885 -- Fixed hidden content at the bottom of the "The


install worked successfully!" page for some languages.

Backport of 1b753b2d60230974e7d537ddacbcc1ad23348e7c from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28885#comment:11>

Reply all
Reply to author
Forward
0 new messages