mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-03 00:13:48 +01:00
swap
This commit is contained in:
parent
8d0e112111
commit
fc5751ffba
@ -1,6 +1,6 @@
|
||||
<div class="code-preview-container file-content">
|
||||
<div class="code-preview-header">
|
||||
<a href="{{.FullURL}}" rel="nofollow" class="tw-font-semibold">{{.RepoName}}/{{.FilePath}}</a>
|
||||
<a href="{{.FullURL}}" class="tw-font-semibold" rel="nofollow">{{.RepoName}}/{{.FilePath}}</a>
|
||||
{{$link := HTMLFormat `<a href="%s/commit/%s" class="muted tw-font-mono tw-text-text">%s</a>` .RepoLink .CommitID (.CommitID | ShortSha) -}}
|
||||
{{- if eq .LineStart .LineStop -}}
|
||||
{{ctx.Locale.Tr "repo.code_preview_line_in" .LineStart $link}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user