Skip to content

Commit

Permalink
Link to Sourcegraph for crate_details "Source" tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Dec 5, 2022
1 parent a46af5d commit ace3e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/header/package_navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ <h1 id="crate-title">
</a>
</li>

{# The source view tab #}
{# The view tab #}
<li class="pure-menu-item">
<a href="/crate/{{ crate_path | safe }}/source/"
<a href="https://sourcegraph.com/crates/{{ metadata.name }}@v{{ metadata.version }}"
class="pure-menu-link{% if active_tab == 'source' %} pure-menu-active{% endif %}">
{{ "folder-open" | far(fw=true) }}
<span class="title"> Source</span>
Expand Down

0 comments on commit ace3e77

Please sign in to comment.