mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
ui fixes - compare view and archieved repo issues (#7345)
* add 'repo archived - comment/pull not possible' message affects #7304 Signed-off-by: Michael Gnehr <michael@gnehr.de> * add navbar to compare view Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove wrong if else Signed-off-by: Michael Gnehr <michael@gnehr.de>
This commit is contained in:
@@ -107,6 +107,14 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{ else if .Repository.IsArchived }}
|
||||
<div class="ui warning message">
|
||||
{{if .Issue.IsPull}}
|
||||
{{.i18n.Tr "repo.archive.pull.nocomment"}}
|
||||
{{else}}
|
||||
{{.i18n.Tr "repo.archive.issue.nocomment"}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{else}}
|
||||
{{if .Repository.IsArchived}}
|
||||
|
Reference in New Issue
Block a user