Skip to content

License link doesn't point anywhere useful #2738

@Manishearth

Description

@Manishearth

Crates.io includes the crate license in the dropdown menu, and it's a clickable link

Image

This just links to the /latest page, which does not seem too useful

<li class="pure-menu-item">
<a href="{{ crate_url|safe }}" class="pure-menu-link">
{{ crate::icons::IconScaleUnbalancedFlip.render_solid(false, false, "") }} {{ krate.license.as_deref().unwrap_or_default() }}
</a>

Either it should not be a link at all, or it should link to the LICENSE file, or the SPDX website. Thoughts?

My preference: link to LICENSE if known, otherwise fall back to SPDX

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Web frontendE-easyEffort: Should be easy to implement and would make a good first PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions