aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-05 17:49:46 -0500
committerUnknwon <u@gogs.io>2015-12-05 17:49:46 -0500
commit89244b74c61495c50ae071c203a2a2a0d078aa00 (patch)
tree4d50767f11252113773046e89b1ad74b6ab70eba /templates/admin
parentca8ce793d15b3991eb4766939e9a0a7cf086fa6f (diff)
downloadgitea-89244b74c61495c50ae071c203a2a2a0d078aa00.tar.gz
gitea-89244b74c61495c50ae071c203a2a2a0d078aa00.zip
remember page number when delete repo
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/repo/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl
index 932c0d8ac8..f8ccecf66c 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -34,7 +34,7 @@
<td>{{.NumStars}}</td>
<td>{{.NumIssues}}</td>
<td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td>
- <td><a class="delete-button" href="" data-url="{{$.Link}}/delete" data-id="{{.ID}}"><i class="trash icon text red"></i></a></td>
+ <td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Current}}" data-id="{{.ID}}"><i class="trash icon text red"></i></a></td>
</tr>
{{end}}
</tbody>