File tree 2 files changed +2
-0
lines changed 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -989,6 +989,7 @@ commit_graph.hide_pr_refs = Hide Pull Requests
989
989
commit_graph.monochrome = Mono
990
990
commit_graph.color = Color
991
991
blame = Blame
992
+ download_file = Download file
992
993
normal_view = Normal View
993
994
line = line
994
995
lines = lines
Original file line number Diff line number Diff line change 48
48
{{end}}
49
49
<a class="ui mini basic button" href="{{.RepoLink}}/commits/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_history"}}</a>
50
50
</div>
51
+ <a download href="{{EscapePound $.RawFileLink}}"><span class="btn-octicon poping up" data-content="{{.i18n.Tr "repo.download_file"}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-download"}}</span></a>
51
52
{{if .Repository.CanEnableEditor}}
52
53
{{if .CanEditFile}}
53
54
<a href="{{.RepoLink}}/_edit/{{EscapePound .BranchName}}/{{EscapePound .TreePath}}"><span class="btn-octicon poping up" data-content="{{.EditFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-pencil"}}</span></a>
You can’t perform that action at this time.
0 commit comments