We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86bad44 commit b2e3bbfCopy full SHA for b2e3bbf
templates/base/markup_codepreview.tmpl
@@ -1,7 +1,7 @@
1
<div class="code-preview-container file-content">
2
<div class="code-preview-header">
3
<a href="{{.FullURL}}" rel="nofollow" class="tw-font-semibold">{{.FilePath}}</a>
4
- {{$link := HTMLFormat `<a href="%s/src/commit/%s" class="muted tw-font-mono tw-text-text">%s</a>` .RepoLink .CommitID (.CommitID | ShortSha) -}}
+ {{$link := HTMLFormat `<a href="%s/commit/%s" class="muted tw-font-mono tw-text-text">%s</a>` .RepoLink .CommitID (.CommitID | ShortSha) -}}
5
{{- if eq .LineStart .LineStop -}}
6
{{ctx.Locale.Tr "repo.code_preview_line_in" .LineStart $link}}
7
{{- else -}}
0 commit comments