Skip to content

Commit 0793b5e

Browse files
lunnysapk
authored andcommitted
keep blame view buttons sequence consistent with normal view when view a file (#8007) (#8009)
1 parent bb423f9 commit 0793b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/blame.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<div class="eight wide right aligned column">
1010
<div class="ui right file-actions">
1111
<div class="ui buttons">
12+
<a class="ui button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
1213
{{if not .IsViewCommit}}
1314
<a class="ui button" href="{{.RepoLink}}/src/commit/{{.CommitID}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_permalink"}}</a>
1415
{{end}}
1516
<a class="ui button" href="{{.RepoLink}}/src/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.normal_view"}}</a>
1617
<a class="ui button" href="{{.RepoLink}}/commits/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_history"}}</a>
17-
<a class="ui button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
1818
</div>
1919
{{if .Repository.CanEnableEditor}}
2020
{{if .CanEditFile}}

0 commit comments

Comments
 (0)