Fix editorconfig issues and home.tmpl pinned org display format
- Fix home.tmpl to properly show promotional content when selected - Fix line endings and indentation in all templates - Fix locale file line endings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3307,4 +3307,4 @@
|
||||
"git.filemode.executable_file": "Spustitelný soubor",
|
||||
"git.filemode.symbolic_link": "Symbolický odkaz",
|
||||
"git.filemode.submodule": "Submodul"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3250,4 +3250,4 @@
|
||||
"git.filemode.symbolic_link": "Softlink",
|
||||
"git.filemode.submodule": "Submodul",
|
||||
"based_on": "Basiert auf"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3001,4 +3001,4 @@
|
||||
"git.filemode.normal_file": "Κανονικό αρχείο",
|
||||
"git.filemode.executable_file": "Εκτελέσιμο αρχείο",
|
||||
"git.filemode.submodule": "Υπομονάδα"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3946,4 +3946,4 @@
|
||||
"repo.settings.pages.seo_description": "Meta Description",
|
||||
"repo.settings.pages.seo_keywords": "Keywords",
|
||||
"repo.settings.pages.og_image": "Open Graph Image URL"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2964,4 +2964,4 @@
|
||||
"startpage.platform_desc": "Diseñado para la era del desarrollo asistido por IA. APIs estructuradas, descubrimiento de capacidades y contexto inteligente para herramientas de IA.",
|
||||
"startpage.license_desc": "GitCaddy es de código abierto y construido sobre hombros de gigantes. Basado en Gitea, mejorado para la era de la IA.",
|
||||
"based_on": "Basado en"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2229,4 +2229,4 @@
|
||||
"actions.runners.version": "نسخه",
|
||||
"actions.runs.commit": "کامیت",
|
||||
"git.filemode.symbolic_link": "پیوند نمادین"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1475,4 +1475,4 @@
|
||||
"actions.runners.task_list.run": "Suorita",
|
||||
"actions.runners.task_list.repository": "Repo",
|
||||
"actions.runners.version": "Versio"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3591,4 +3591,4 @@
|
||||
"git.filemode.submodule": "Sous-module",
|
||||
"startpage.license": "Open Source",
|
||||
"based_on": "Basé sur"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3698,4 +3698,4 @@
|
||||
"git.filemode.executable_file": "Comhad infheidhmithe",
|
||||
"git.filemode.symbolic_link": "Nasc siombalach",
|
||||
"git.filemode.submodule": "Fo-mhodúl"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1384,4 +1384,4 @@
|
||||
"actions.runners.status.active": "Aktív",
|
||||
"actions.runners.version": "Verzió",
|
||||
"git.filemode.symbolic_link": "Szimbolikus hivatkozás"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1199,4 +1199,4 @@
|
||||
"projects.type-1.display_name": "Proyek Individu",
|
||||
"projects.type-2.display_name": "Proyek Repositori",
|
||||
"projects.type-3.display_name": "Proyek Organisasi"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1117,4 +1117,4 @@
|
||||
"actions.runners.status.active": "Virkt",
|
||||
"actions.runners.version": "Útgáfa",
|
||||
"actions.runs.commit": "Framlag"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2383,4 +2383,4 @@
|
||||
"startpage.license": "Open Source",
|
||||
"startpage.license_desc": "GitCaddy è open source e costruito sulle spalle dei giganti. Basato su Gitea, migliorato per l'era dell'AI.",
|
||||
"based_on": "Basato su"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3654,4 +3654,4 @@
|
||||
"git.filemode.symbolic_link": "シンボリックリンク",
|
||||
"git.filemode.submodule": "サブモジュール",
|
||||
"based_on": "ベース"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1352,4 +1352,4 @@
|
||||
"startpage.lightweight_desc": "최소한의 자원, 최대의 성능. GitCaddy는 Raspberry Pi부터 엔터프라이즈 서버까지 효율적으로 실행됩니다.",
|
||||
"startpage.license_desc": "GitCaddy는 오픈 소스이며 거인의 어깨 위에 서 있습니다. Gitea를 기반으로 AI 시대에 맞게 강화되었습니다.",
|
||||
"based_on": "기반"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3043,4 +3043,4 @@
|
||||
"git.filemode.executable_file": "Izpildāmais fails",
|
||||
"git.filemode.symbolic_link": "Simboliska saite",
|
||||
"git.filemode.submodule": "Apakšmodulis"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2100,4 +2100,4 @@
|
||||
"startpage.license": "Open Source",
|
||||
"startpage.license_desc": "GitCaddy is open source en gebouwd op de schouders van reuzen. Gebaseerd op Gitea, verbeterd voor het AI-tijdperk.",
|
||||
"based_on": "Gebaseerd op"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2115,4 +2115,4 @@
|
||||
"startpage.platform_desc": "Zbudowany dla ery rozwoju wspomaganego przez AI. Ustrukturyzowane API, odkrywanie możliwości i inteligentny kontekst dla narzędzi AI.",
|
||||
"startpage.license_desc": "GitCaddy jest open source i stoi na ramionach gigantów. Oparty na Gitea, ulepszony dla ery AI.",
|
||||
"based_on": "Na podstawie"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3288,4 +3288,4 @@
|
||||
"git.filemode.symbolic_link": "Link simbólico",
|
||||
"git.filemode.submodule": "Submódulo",
|
||||
"based_on": "Baseado em"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3726,4 +3726,4 @@
|
||||
"git.filemode.symbolic_link": "Ligação simbólica",
|
||||
"git.filemode.submodule": "Submódulo",
|
||||
"based_on": "Baseado em"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2987,4 +2987,4 @@
|
||||
"startpage.platform_desc": "Создан для эпохи AI-ассистированной разработки. Структурированные API, обнаружение возможностей и интеллектуальный контекст для AI-инструментов.",
|
||||
"startpage.license_desc": "GitCaddy имеет открытый исходный код и стоит на плечах гигантов. Основан на Gitea, улучшен для эпохи AI.",
|
||||
"based_on": "На основе"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2190,4 +2190,4 @@
|
||||
"actions.runners.version": "අනුවාදය",
|
||||
"actions.runs.commit": "කැප",
|
||||
"git.filemode.symbolic_link": "සංකේතාත්මක සබැඳිය"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1161,4 +1161,4 @@
|
||||
"actions.runners.status.unspecified": "Neznámy",
|
||||
"actions.runners.version": "Verzia",
|
||||
"git.filemode.symbolic_link": "Symbolický odkaz"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1734,4 +1734,4 @@
|
||||
"actions.runners.task_list.repository": "Utvecklingskatalog",
|
||||
"actions.runners.status.active": "Aktiv",
|
||||
"git.filemode.symbolic_link": "Symbolisk länk"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3664,4 +3664,4 @@
|
||||
"git.filemode.symbolic_link": "Sembolik Bağlantı",
|
||||
"git.filemode.submodule": "Alt modül",
|
||||
"based_on": "Dayalı"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3185,4 +3185,4 @@
|
||||
"git.filemode.submodule": "Підмодуль",
|
||||
"startpage.license_desc": "GitCaddy має відкритий вихідний код і стоїть на плечах гігантів. Заснований на Gitea, покращений для ери AI.",
|
||||
"based_on": "На основі"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3727,4 +3727,4 @@
|
||||
"git.filemode.symbolic_link": "符号链接",
|
||||
"git.filemode.submodule": "子模块",
|
||||
"based_on": "基于"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3299,4 +3299,4 @@
|
||||
"git.filemode.symbolic_link": "符號連結",
|
||||
"git.filemode.submodule": "子模組",
|
||||
"based_on": "基於"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,26 +30,48 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{if .PinnedOrganizations}}
|
||||
<div class="ui container tw-my-8">
|
||||
{{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "promotional"}}
|
||||
{{/* Promotional format: large cards with prominent display */}}
|
||||
<div class="ui two doubling stackable cards">
|
||||
{{range .PinnedOrganizations}}
|
||||
<a class="ui card" href="{{.HomeLink}}">
|
||||
<div class="content tw-text-center tw-py-4">
|
||||
<div class="tw-mb-4">
|
||||
{{ctx.AvatarUtils.Avatar . 96 "tw-rounded"}}
|
||||
</div>
|
||||
<div class="header tw-text-lg">{{.DisplayName}}</div>
|
||||
{{if .Description}}
|
||||
<div class="description tw-mt-3">{{.Description}}</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</a>
|
||||
{{end}}
|
||||
{{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "promotional"}}
|
||||
{{/* Promotional format: show marketing content */}}
|
||||
<div class="ui stackable middle very relaxed page grid">
|
||||
<div class="eight wide center column">
|
||||
<h1 class="hero ui icon header">
|
||||
{{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}}
|
||||
</h1>
|
||||
<p class="large tw-text-balance">
|
||||
{{ctx.Locale.Tr "startpage.install_desc"}}
|
||||
</p>
|
||||
</div>
|
||||
{{else if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "regular"}}
|
||||
<div class="eight wide center column">
|
||||
<h1 class="hero ui icon header">
|
||||
{{svg "octicon-dependabot"}} {{ctx.Locale.Tr "startpage.platform"}}
|
||||
</h1>
|
||||
<p class="large tw-text-balance">
|
||||
{{ctx.Locale.Tr "startpage.platform_desc"}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui stackable middle very relaxed page grid">
|
||||
<div class="eight wide center column">
|
||||
<h1 class="hero ui icon header">
|
||||
{{svg "octicon-rocket"}} {{ctx.Locale.Tr "startpage.lightweight"}}
|
||||
</h1>
|
||||
<p class="large tw-text-balance">
|
||||
{{ctx.Locale.Tr "startpage.lightweight_desc"}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="eight wide center column">
|
||||
<h1 class="hero ui icon header">
|
||||
{{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}}
|
||||
</h1>
|
||||
<p class="large tw-text-balance">
|
||||
{{ctx.Locale.Tr "startpage.license_desc"}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{else if .PinnedOrganizations}}
|
||||
{{/* Show pinned organizations */}}
|
||||
<div class="ui container tw-my-8">
|
||||
{{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "regular"}}
|
||||
{{/* Regular format: icon above, title below, description below that */}}
|
||||
<div class="ui four doubling stackable cards">
|
||||
{{range .PinnedOrganizations}}
|
||||
@@ -88,7 +110,7 @@
|
||||
{{end}}
|
||||
</div>
|
||||
{{else}}
|
||||
{{/* Only show promotional text when there are no pinned organizations */}}
|
||||
{{/* No pinned organizations - show promotional content as fallback */}}
|
||||
<div class="ui stackable middle very relaxed page grid">
|
||||
<div class="eight wide center column">
|
||||
<h1 class="hero ui icon header">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,75 +1,75 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>GitCaddy API v1 Reference</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<style>
|
||||
:root {
|
||||
--scalar-color-1: #609926;
|
||||
--scalar-color-accent: #609926;
|
||||
--scalar-background-1: #ffffff;
|
||||
--scalar-background-2: #f8f9fa;
|
||||
--scalar-background-3: #e9ecef;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--scalar-background-1: #1a1a1a;
|
||||
--scalar-background-2: #252525;
|
||||
--scalar-background-3: #333333;
|
||||
}
|
||||
}
|
||||
.api-version-bar {
|
||||
background: var(--scalar-background-2, #f8f9fa);
|
||||
padding: 8px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
font-size: 14px;
|
||||
border-bottom: 1px solid var(--scalar-background-3, #e9ecef);
|
||||
}
|
||||
.api-version-bar a {
|
||||
color: #609926;
|
||||
text-decoration: none;
|
||||
padding: 4px 12px;
|
||||
border-radius: 4px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.api-version-bar a:hover {
|
||||
background: rgba(96, 153, 38, 0.1);
|
||||
}
|
||||
.api-version-bar a.active {
|
||||
background: #609926;
|
||||
color: white;
|
||||
}
|
||||
.api-version-bar .back-link {
|
||||
margin-right: auto;
|
||||
}
|
||||
</style>
|
||||
<title>GitCaddy API v1 Reference</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<style>
|
||||
:root {
|
||||
--scalar-color-1: #609926;
|
||||
--scalar-color-accent: #609926;
|
||||
--scalar-background-1: #ffffff;
|
||||
--scalar-background-2: #f8f9fa;
|
||||
--scalar-background-3: #e9ecef;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--scalar-background-1: #1a1a1a;
|
||||
--scalar-background-2: #252525;
|
||||
--scalar-background-3: #333333;
|
||||
}
|
||||
}
|
||||
.api-version-bar {
|
||||
background: var(--scalar-background-2, #f8f9fa);
|
||||
padding: 8px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
font-size: 14px;
|
||||
border-bottom: 1px solid var(--scalar-background-3, #e9ecef);
|
||||
}
|
||||
.api-version-bar a {
|
||||
color: #609926;
|
||||
text-decoration: none;
|
||||
padding: 4px 12px;
|
||||
border-radius: 4px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.api-version-bar a:hover {
|
||||
background: rgba(96, 153, 38, 0.1);
|
||||
}
|
||||
.api-version-bar a.active {
|
||||
background: #609926;
|
||||
color: white;
|
||||
}
|
||||
.api-version-bar .back-link {
|
||||
margin-right: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="api-version-bar">
|
||||
<a href="{{AppSubUrl}}/" class="back-link">← Back to GitCaddy</a>
|
||||
<span>API Version:</span>
|
||||
<a href="{{AppSubUrl}}/api/swagger" class="active">v1</a>
|
||||
<a href="{{AppSubUrl}}/api/v2/docs">v2</a>
|
||||
</div>
|
||||
<script
|
||||
id="api-reference"
|
||||
data-url="{{AppSubUrl}}/swagger.{{.APIJSONVersion}}.json"
|
||||
data-configuration='{
|
||||
"theme": "default",
|
||||
"layout": "modern",
|
||||
"showSidebar": true,
|
||||
"hideModels": false,
|
||||
"hideDownloadButton": false,
|
||||
"defaultHttpClient": {
|
||||
"targetKey": "shell",
|
||||
"clientKey": "curl"
|
||||
}
|
||||
}'>
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
|
||||
<div class="api-version-bar">
|
||||
<a href="{{AppSubUrl}}/" class="back-link">← Back to GitCaddy</a>
|
||||
<span>API Version:</span>
|
||||
<a href="{{AppSubUrl}}/api/swagger" class="active">v1</a>
|
||||
<a href="{{AppSubUrl}}/api/v2/docs">v2</a>
|
||||
</div>
|
||||
<script
|
||||
id="api-reference"
|
||||
data-url="{{AppSubUrl}}/swagger.{{.APIJSONVersion}}.json"
|
||||
data-configuration='{
|
||||
"theme": "default",
|
||||
"layout": "modern",
|
||||
"showSidebar": true,
|
||||
"hideModels": false,
|
||||
"hideDownloadButton": false,
|
||||
"defaultHttpClient": {
|
||||
"targetKey": "shell",
|
||||
"clientKey": "curl"
|
||||
}
|
||||
}'>
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user