summaryrefslogtreecommitdiffstats
path: root/templates/admin/repo/list.tmpl
diff options
context:
space:
mode:
authormuhfaris <muhfaris@disroot.org>2018-01-15 13:03:30 +0700
committerLauris BH <lauris@nix.lv>2018-01-15 08:03:30 +0200
commitbec09378f96f45561a6da9ddec844b720957540c (patch)
tree7d04bccd8be0e0fafddcb57511cf5b7e6d593a1e /templates/admin/repo/list.tmpl
parentd29aa7677745671c1ed22fbd612dd3370f178b73 (diff)
downloadgitea-bec09378f96f45561a6da9ddec844b720957540c.tar.gz
gitea-bec09378f96f45561a6da9ddec844b720957540c.zip
Fix Delete repository message (#3260)
Diffstat (limited to 'templates/admin/repo/list.tmpl')
-rw-r--r--templates/admin/repo/list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl
index 470be359eb..86d6b80426 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -37,7 +37,7 @@
<td>{{.NumIssues}}</td>
<td>{{SizeFmt .Size}}</td>
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></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>
+ <td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Current}}" data-id="{{.ID}}" data-repo-name="{{.Name}}"><i class="trash icon text red"></i></a></td>
</tr>
{{end}}
</tbody>
@@ -55,7 +55,7 @@
</div>
<div class="content">
<p>{{.i18n.Tr "repo.settings.delete_desc"}}</p>
- {{.i18n.Tr "repo.settings.delete_notices_2"}}<br>
+ {{.i18n.Tr "repo.settings.delete_notices_2" `<span class="repo-name"></span>` | Safe}}<br>
{{.i18n.Tr "repo.settings.delete_notices_fork_1"}}<br>
</div>
{{template "base/delete_modal_actions" .}}