fix: RelAvatarLink ctx arg, GitCaddy branding in error message
Some checks failed
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 1m3s
Build and Release / Create Release (push) Has been skipped
Build and Release / Lint (push) Failing after 1m31s
Build and Release / Build Binaries (amd64, darwin) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux) (push) Has been skipped
Build and Release / Build Binaries (amd64, windows) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin) (push) Has been skipped
Build and Release / Build Binaries (arm64, linux) (push) Has been skipped
Build and Release / Unit Tests (push) Successful in 2m9s
Some checks failed
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 1m3s
Build and Release / Create Release (push) Has been skipped
Build and Release / Lint (push) Failing after 1m31s
Build and Release / Build Binaries (amd64, darwin) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux) (push) Has been skipped
Build and Release / Build Binaries (amd64, windows) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin) (push) Has been skipped
Build and Release / Build Binaries (arm64, linux) (push) Has been skipped
Build and Release / Unit Tests (push) Successful in 2m9s
This commit is contained in:
parent
6cfd51e4c7
commit
3fb751bc24
@ -206,7 +206,7 @@
|
||||
"filter.string.asc": "A–Z",
|
||||
"filter.string.desc": "Z–A",
|
||||
"error.occurred": "An error occurred",
|
||||
"error.report_message": "If you believe that this is a Gitea bug, please search for issues on <a href=\"%s\" target=\"_blank\">GitHub</a> or open a new issue if necessary.",
|
||||
"error.report_message": "If you believe that this is a GitCaddy bug, please search for issues on <a href=\"%s\" target=\"_blank\">GitCaddy Gitea</a> or open a new issue if necessary.",
|
||||
"error.not_found": "The target couldn't be found.",
|
||||
"error.network_error": "Network error",
|
||||
"startpage.app_desc": "A painless, self-hosted Git service",
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<div class="content">
|
||||
<div class="header tw-flex tw-items-center tw-gap-2">
|
||||
{{if .Repo.Avatar}}
|
||||
<img class="tw-w-6 tw-h-6 tw-rounded" src="{{.Repo.RelAvatarLink}}" alt="">
|
||||
<img class="tw-w-6 tw-h-6 tw-rounded" src="{{.Repo.RelAvatarLink ctx}}" alt="">
|
||||
{{else}}
|
||||
{{if .Repo.IsPrivate}}{{svg "octicon-lock" 16}}{{else if .Repo.IsFork}}{{svg "octicon-repo-forked" 16}}{{else if .Repo.IsMirror}}{{svg "octicon-mirror" 16}}{{else}}{{svg "octicon-repo" 16}}{{end}}
|
||||
{{end}}
|
||||
@ -78,7 +78,7 @@
|
||||
<div class="content">
|
||||
<div class="header tw-flex tw-items-center tw-gap-2">
|
||||
{{if .Repo.Avatar}}
|
||||
<img class="tw-w-6 tw-h-6 tw-rounded" src="{{.Repo.RelAvatarLink}}" alt="">
|
||||
<img class="tw-w-6 tw-h-6 tw-rounded" src="{{.Repo.RelAvatarLink ctx}}" alt="">
|
||||
{{else}}
|
||||
{{if .Repo.IsPrivate}}{{svg "octicon-lock" 16}}{{else if .Repo.IsFork}}{{svg "octicon-repo-forked" 16}}{{else if .Repo.IsMirror}}{{svg "octicon-mirror" 16}}{{else}}{{svg "octicon-repo" 16}}{{end}}
|
||||
{{end}}
|
||||
@ -165,7 +165,7 @@
|
||||
<div class="item">
|
||||
<div class="tw-flex tw-items-center tw-gap-3">
|
||||
{{if .Avatar}}
|
||||
<img class="tw-w-8 tw-h-8 tw-rounded" src="{{.RelAvatarLink}}" alt="">
|
||||
<img class="tw-w-8 tw-h-8 tw-rounded" src="{{.RelAvatarLink ctx}}" alt="">
|
||||
{{else}}
|
||||
<div class="tw-w-8 tw-h-8 tw-flex tw-items-center tw-justify-center">
|
||||
{{if .IsPrivate}}{{svg "octicon-lock" 20}}{{else if .IsFork}}{{svg "octicon-repo-forked" 20}}{{else if .IsMirror}}{{svg "octicon-mirror" 20}}{{else}}{{svg "octicon-repo" 20}}{{end}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user