🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@mpirnat
Copy link
Contributor

@mpirnat mpirnat commented Jan 24, 2018

Fixes #1218...

Remove the Python 2 CTA buttons from the downloads page

As described in the original issue.

Remove 'which version' text from download-banner box fixture

As described in the original issue, this may have to be manually effected in production since it's in the "box" stuff that appears to be managed in the CMS (and was how I had to do it locally for the change to take effect). It seemed reasonable to refresh the fixture though.

With these changes, it the banner area on the downloads page looks like this:

downloads-banner

Remove the Python 2 CTA buttons from the downloads supernav

Not described in the original issue but seemed like a good idea for consistency.

With this change, the downloads supernav looks like this:

downloads-supernav

Remove Python 2 from homepage downloads box

Not described in the original issue, this also seemed like a good idea for consistency since the "wondering which version" text that the original issue is asking to remove also currently appears in the downloads box on the homepage. Again, I had to update the box in the CMS for the change to take effect, but the fixture has been updated to remove both the "which version" text as well as the link to the latest Python 2 version--this last seemed in the spirit of the CTA button removal.

With this change, the downloads box on the homepage looks like this:

homepage-downloads-box

Not Undertaken

There may be some opportunities to clean up the downloads view code to remove queries to get the latest Python 2 versions, which would trim a few ms, but I didn't feel comfortable ripping those out yet in case something else needed them or if the resulting change would be more extensive than desired. This can certainly be explored though.

Removes the 'which version' text from the download-banner box fixture
and replaces it with a 'Looking for 2.7? See below' message to direct
visitors to the release list on the downloads page.

This change may have to be manually effected in the CMS in production.
Removes the 'which version' text from the homepage downloads box as well
as the link for the latest Python 2 version.
Removes the 'which version' text from the homepage-downloads box fixture
as well as the link to the latest Python 2 version.

This change may have to be manually effected in the CMS in production.
@ewdurbin
Copy link
Member

ewdurbin commented May 4, 2018

By the decree of @gvanrossum I hereby merge this. I'll update the CMS content after deploy @mpirnat.

@ewdurbin ewdurbin merged commit b59be74 into python:master May 4, 2018
ewdurbin pushed a commit that referenced this pull request May 4, 2018
* Remove the Python 2 CTA buttons from the downloads page

* Remove 'which version' text from download-banner box fixture

Removes the 'which version' text from the download-banner box fixture
and replaces it with a 'Looking for 2.7? See below' message to direct
visitors to the release list on the downloads page.

This change may have to be manually effected in the CMS in production.

* Remove the Python 2 CTA buttons from the downloads supernav

* Remove Python 2 from homepage downloads box

Removes the 'which version' text from the homepage downloads box as well
as the link for the latest Python 2 version.

* Remove Python 2 from homepage-downloads box fixture

Removes the 'which version' text from the homepage-downloads box fixture
as well as the link to the latest Python 2 version.

This change may have to be manually effected in the CMS in production.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3 only for Call To Action download buttons.

2 participants