forked from kevadesu/forgejo
Merge templates/projects/list.tmpl
and templates/repo/projects/list.tmpl
together (#26265)
(cherry picked from commit 473862a1d5
)
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:
parent
ab388deb0e
commit
6ed4626ed5
3 changed files with 3 additions and 100 deletions
|
@ -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"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue