1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Merge templates/projects/list.tmpl and templates/repo/projects/list.tmpl together (#26265)

(cherry picked from commit 473862a1d599382ca022482e2e044025872d240b)

Refs: https://codeberg.org/forgejo/forgejo/pulls/1126

Co-authored-by: Louis Seubert <louis.seubert.ls@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
Earl Warren
2023-08-01 18:54:54 +02:00
committed by GitHub
parent ab388deb0e
commit 6ed4626ed5
3 changed files with 3 additions and 100 deletions

View File

@@ -1,4 +1,4 @@
{{if .CanWriteProjects}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
<div class="gt-text-right">
<a class="ui small green button" href="{{$.Link}}/new">{{.locale.Tr "repo.projects.new"}}</a>
</div>
@@ -72,7 +72,7 @@
{{template "base/paginate" .}}
</div>
{{if $.CanWriteProjects}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
<div class="ui g-modal-confirm delete modal">
<div class="header">
{{svg "octicon-trash"}}