We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d85b7 commit abd85d3Copy full SHA for abd85d3
templates/repo/diff/options_dropdown.tmpl
@@ -3,7 +3,7 @@
3
<i class="dropdown icon"></i>
4
<div class="menu">
5
<a class="item tiny basic toggle button" data-target="#diff-files">{{.i18n.Tr "repo.diff.show_diff_stats"}}</a>
6
- <a class="item" href="{{$.RepoLink}}/pulls/{{.Issue.Index}}.patch" download="15.patch">{{.i18n.Tr "repo.diff.download_patch"}}</a>
7
- <a class="item" href="{{$.RepoLink}}/pulls/{{.Issue.Index}}.diff" download="15.diff">{{.i18n.Tr "repo.diff.download_diff"}}</a>
+ <a class="item" href="{{$.RepoLink}}/pulls/{{.Issue.Index}}.patch" download="{{.Issue.Index}}.patch">{{.i18n.Tr "repo.diff.download_patch"}}</a>
+ <a class="item" href="{{$.RepoLink}}/pulls/{{.Issue.Index}}.diff" download="{{.Issue.Index}}.diff">{{.i18n.Tr "repo.diff.download_diff"}}</a>
8
</div>
9
0 commit comments