Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove version variable from downloads page #218

Closed
wants to merge 3 commits into from
Closed

Remove version variable from downloads page #218

wants to merge 3 commits into from

Conversation

huey735
Copy link
Contributor

@huey735 huey735 commented Aug 26, 2019

No description provided.

On @m52go's advice I changed the construction of the outdated
translation alert toolto be spefic to the page instead of the
language. I added a "outdated_translation" variable to the
front matter of the relevant translated pages. They'll have
the values 'true' or 'false' according to the state.
This was referenced Aug 26, 2019

<!-- Outdated translation alert tool tag-->
{% if page.outdated_translation %}
<span class="navbar-text" style="color: orange;">Outdated translation</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is doing more than simply removing a variable from the downloads page?

Copy link
Contributor Author

@huey735 huey735 Aug 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wiz I decided to put this commit in this PR because it also affects the downloads pages. It felt wrong to remove the 'version' variables in one PR and then add 'outdated_translations' in another PR when they overlap files.

@m52go
Copy link
Contributor

m52go commented Aug 26, 2019

master already includes the version variable removal, so I recommend removing that commit (9e49594) and renaming this PR something like "Add outdated translation flag". Technically that's the main purpose of this PR.

This reverts commit 9e49594.

Remove unnecessary commit as changes are already present
in the master branch.
Copy link
Contributor Author

@huey735 huey735 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that didn't have the result I had in mind. I guess I better make a new PR.

@huey735
Copy link
Contributor Author

huey735 commented Aug 26, 2019

New and better PR #220

@huey735 huey735 closed this Aug 26, 2019
@huey735 huey735 deleted the removeVersionVariable branch September 8, 2019 15:30
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.

3 participants