mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
template: repo: compare: display a warning if the user is not logged in
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
This commit is contained in:
parent
6836ded397
commit
dd4a1107ed
4 changed files with 46 additions and 0 deletions
|
@ -215,6 +215,10 @@
|
|||
{{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="ui warning message tw-mb-4">
|
||||
{{ctx.Locale.Tr "repo.pulls.sign_in_require" .SignInLink}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if $.IsSigned}}
|
||||
<div class="pullrequest-form {{if not .Flash}}tw-hidden{{end}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue