mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 22:22:44 +01:00
Repository Archived text title center align (#25767)
Archive text title center align <details> <summary>Screen shots</summary> Before ![image](https://github.com/go-gitea/gitea/assets/80308335/90182367-4d06-4fc8-b7aa-21c21225d2bd) After ![image](https://github.com/go-gitea/gitea/assets/80308335/3dcc0d0d-75f4-415d-afbf-03921075b4db) ![image](https://github.com/go-gitea/gitea/assets/80308335/317d74f8-0ae9-4dc7-9508-1833d2d4f327) BTW On github ![image](https://github.com/go-gitea/gitea/assets/80308335/1801fd2d-1803-4ee6-8856-ef2f623df2b4) </details> --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
429c12fe62
commit
2ff0c12a95
6 changed files with 7 additions and 7 deletions
|
@ -214,7 +214,7 @@
|
|||
<button class="ui button green show-form">{{.locale.Tr "repo.pulls.new"}}</button>
|
||||
</div>
|
||||
{{else if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{if .Repository.ArchivedUnix.IsZero}}
|
||||
{{.locale.Tr "repo.archive.title"}}
|
||||
{{else}}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="sixteen wide column content">
|
||||
{{template "base/alert" .}}
|
||||
{{if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{if .Repository.ArchivedUnix.IsZero}}
|
||||
{{.locale.Tr "repo.archive.title"}}
|
||||
{{else}}
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{if .Repository.ArchivedUnix.IsZero}}
|
||||
{{.locale.Tr "repo.archive.title"}}
|
||||
{{else}}
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{{else if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{if .Issue.IsPull}}
|
||||
{{.locale.Tr "repo.archive.pull.nocomment"}}
|
||||
{{else}}
|
||||
|
@ -135,7 +135,7 @@
|
|||
{{end}}
|
||||
{{else}} {{/* not .IsSigned */}}
|
||||
{{if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{if .Issue.IsPull}}
|
||||
{{.locale.Tr "repo.archive.pull.nocomment"}}
|
||||
{{else}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings edit")}}
|
||||
<div class="repo-setting-content">
|
||||
{{if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{.locale.Tr "repo.settings.archive.branchsettings_unavailable"}}
|
||||
</div>
|
||||
{{else}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings edit")}}
|
||||
<div class="repo-setting-content">
|
||||
{{if .Repository.IsArchived}}
|
||||
<div class="ui warning message">
|
||||
<div class="ui warning message gt-text-center">
|
||||
{{.locale.Tr "repo.settings.archive.tagsettings_unavailable"}}
|
||||
</div>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in a new issue