Some checks are pending
Build and Release / Lint (push) Waiting to run
Build and Release / Unit Tests (push) Waiting to run
Build and Release / Integration Tests (PostgreSQL) (push) Waiting to run
Build and Release / Create Release (push) Waiting to run
Build and Release / Build Binaries (amd64, darwin) (push) Blocked by required conditions
Build and Release / Build Binaries (amd64, linux) (push) Blocked by required conditions
Build and Release / Build Binaries (amd64, windows) (push) Blocked by required conditions
Build and Release / Build Binaries (arm64, darwin) (push) Blocked by required conditions
Build and Release / Build Binaries (arm64, linux) (push) Blocked by required conditions
Rebrand: - Binary renamed to gitcaddy-server - Default AppName: GitCaddy - New favicon and homepage logo - Updated licenses.txt with MarketAlly copyright - Footer: Powered by GitCaddy Server (Based on Gitea) Homepage: - Title: GitCaddy - Tagline: Steeped in your workflow - AI-Native Platform, Deploy Anywhere, Lightning Fast, Open Source New Features: - Explore Organizations tile cards display option - Pinned repos show DisplayTitle if set Fixes: - Pages renamed to Landing Page in settings Environment Variables (backward compatible): - GITCADDY__ prefix (GITEA__ still supported) - GITCADDY_WORK_DIR, GITCADDY_CUSTOM
60 lines
1.9 KiB
Handlebars
60 lines
1.9 KiB
Handlebars
{{if and .PageIsExploreOrganizations (eq (.SystemConfig.Theme.ExploreOrgDisplayFormat.Value ctx) "tiles")}}
|
|
{{/* Tile Cards View for Organizations */}}
|
|
<div class="ui four doubling stackable cards">
|
|
{{range .Users}}
|
|
<a class="ui card" href="{{.HomeLink}}">
|
|
<div class="content tw-text-center">
|
|
<div class="tw-mb-3">
|
|
{{ctx.AvatarUtils.Avatar . 64 "tw-rounded"}}
|
|
</div>
|
|
<div class="header">{{.DisplayName}}</div>
|
|
{{if .Description}}
|
|
<div class="meta tw-mt-2">{{.Description}}</div>
|
|
{{end}}
|
|
</div>
|
|
</a>
|
|
{{else}}
|
|
<div class="ui card">
|
|
<div class="content">
|
|
{{ctx.Locale.Tr "search.no_results"}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
{{/* Default List View */}}
|
|
<div class="flex-list">
|
|
{{range .Users}}
|
|
<div class="flex-item tw-items-center">
|
|
<div class="flex-item-leading">
|
|
{{ctx.AvatarUtils.Avatar . 48}}
|
|
</div>
|
|
<div class="flex-item-main">
|
|
<div class="flex-item-title">
|
|
{{if $.PageIsExploreOrganizations}}<a class="text muted" href="{{.HomeLink}}">{{.DisplayName}}</a>{{else}}<a class="text muted" href="{{.HomeLink}}">{{.Name}}</a>{{end}}
|
|
{{if .Visibility.IsPrivate}}
|
|
<span class="ui basic tiny label">{{ctx.Locale.Tr "repo.desc.private"}}</span>
|
|
{{end}}
|
|
</div>
|
|
<div class="flex-item-body">
|
|
{{if .Location}}
|
|
<span class="flex-text-inline">{{svg "octicon-location"}}{{.Location}}</span>
|
|
{{end}}
|
|
{{if and .Email (or (and $.ShowUserEmail $.IsSigned (not .KeepEmailPrivate)) $.PageIsAdminUsers)}}
|
|
<span class="flex-text-inline">
|
|
{{svg "octicon-mail"}}
|
|
<a href="mailto:{{.Email}}">{{.Email}}</a>
|
|
</span>
|
|
{{end}}
|
|
<span class="flex-text-inline">{{svg "octicon-calendar"}}{{ctx.Locale.Tr "user.joined_on" (DateUtils.AbsoluteShort .CreatedUnix)}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div class="flex-item">
|
|
{{ctx.Locale.Tr "search.no_results"}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|