summaryrefslogtreecommitdiffstats
path: root/templates/admin/repo/list.tmpl
diff options
context:
space:
mode:
authorHarshit Bansal <harshitbansal2015@gmail.com>2019-01-07 01:38:25 +0530
committertechknowlogick <hello@techknowlogick.com>2019-01-06 15:08:25 -0500
commitdd006db5a719b33aef7887faab48718e4b0f2786 (patch)
tree22160be00ff5f73b755dcbb494ce342638ce32d9 /templates/admin/repo/list.tmpl
parentc42bde719ecf2dd8757453bed18e082d14c1d3fa (diff)
downloadgitea-dd006db5a719b33aef7887faab48718e4b0f2786.tar.gz
gitea-dd006db5a719b33aef7887faab48718e4b0f2786.zip
Display branch name in delete branch confirmation modal. (#5654)
Fixes: #5630.
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 f706eaa1c8..2054b32178 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -39,7 +39,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}}" data-repo-name="{{.Name}}"><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-name="{{.Name}}"><i class="trash icon text red"></i></a></td>
</tr>
{{end}}
</tbody>
@@ -57,7 +57,7 @@
</div>
<div class="content">
<p>{{.i18n.Tr "repo.settings.delete_desc"}}</p>
- {{.i18n.Tr "repo.settings.delete_notices_2" `<span class="repo-name"></span>` | Safe}}<br>
+ {{.i18n.Tr "repo.settings.delete_notices_2" `<span class="name"></span>` | Safe}}<br>
{{.i18n.Tr "repo.settings.delete_notices_fork_1"}}<br>
</div>
{{template "base/delete_modal_actions" .}}