mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 23:58:35 +00:00
Simplify context ref name (#33267)
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
{{if not .ReadmeInList}}
|
||||
<div class="ui buttons tw-mr-1">
|
||||
<a class="ui mini basic button" href="{{$.RawFileLink}}">{{ctx.Locale.Tr "repo.file_raw"}}</a>
|
||||
{{if not .IsViewCommit}}
|
||||
{{if or .RefFullName.IsBranch .RefFullName.IsTag}}
|
||||
<a class="ui mini basic button" href="{{.RepoLink}}/src/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{ctx.Locale.Tr "repo.file_permalink"}}</a>
|
||||
{{end}}
|
||||
{{if .IsRepresentableAsText}}
|
||||
|
Reference in New Issue
Block a user