mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-19 02:22:46 +00:00
Repository Archived text title center align (#25767)
Archive text title center align <details> <summary>Screen shots</summary> Before  After   BTW On github  </details> --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
429c12fe62
commit
2ff0c12a95
@ -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 New Issue
Block a user