Skip to content

Fixed typo in "go to latest version" tooltip #1094

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/rustdoc/topbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@
If this isn't the most recent stable release, offer a link to the latest #}
{%- elif not is_latest_version -%}
{%- if metadata.yanked -%}
{%- set tooltip = "You are seeing a yanked version of the " ~ metadata.name ~ "crate. Click here to go to the latest version." -%}
{%- set tooltip = "You are seeing a yanked version of the " ~ metadata.name ~ " crate. Click here to go to the latest version." -%}
{%- set title = "This release has been yanked, go to latest version" -%}
{%- elif is_prerelease -%}
{%- set tooltip = "You are seeing a pre-release version of the " ~ metadata.name ~ "crate. Click here to go to the latest stable version." -%}
{%- set tooltip = "You are seeing a pre-release version of the " ~ metadata.name ~ " crate. Click here to go to the latest stable version." -%}
{%- set title = "Go to latest stable release" -%}
{%- else -%}
{%- set tooltip = "You are seeing an outdated version of the " ~ metadata.name ~ "crate. Click here to go to the latest version." -%}
{%- set tooltip = "You are seeing an outdated version of the " ~ metadata.name ~ " crate. Click here to go to the latest version." -%}
{%- set title = "Go to latest version" -%}
{%- endif -%}

Expand Down