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

Display the versions in the hub tabs #467

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

Xpirix
Copy link
Collaborator

@Xpirix Xpirix commented Nov 8, 2024

Fix for #466

  • Replace |version| with the actual version in the tabs
image

Copy link
Contributor

@DelazJ DelazJ left a comment

Choose a reason for hiding this comment

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

Thanks @Xpirix for the quick fix.

@@ -5,7 +5,8 @@

{{ with index .Site.Data.conf }}
{{ $tab1 = replace $tab1 "|ltrversion|" .ltrversion }}
{{ $tab2 = replace $tab2 "|ltrversion|" .ltrversion }}
{{ $tab2 = replace $tab2 "|version|" .version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{{ $tab2 = replace $tab2 "|version|" .version }}
{{ $tab2 = replace $tab2 "|ltrversion|" .ltrversion }}
{{ $tab2 = replace $tab2 "|version|" .version }}

How would the above work? In february, when 3.40 becomes LTR, 3.34 goes to archives so we will move back to 3 tabs mentioning ltrversion only. Would the above avoid us touching again this file at that moment?

Copy link
Collaborator Author

@Xpirix Xpirix Nov 11, 2024

Choose a reason for hiding this comment

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

Sorry @DelazJ , I missed your suggestion. I will submit a new PR afterwards.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Applied with #471

@Xpirix Xpirix merged commit db3d59d into qgis:main Nov 11, 2024
1 check passed
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.

2 participants