Created and Updated

alphons <alphons@heijden.com> 20 Jul 2026, 21:28
19217a1be62bce89d489a72ea6394e78fc902348
14 files changed
  • src/GitServer/Localization/ar.json
  • src/GitServer/Localization/de.json
  • src/GitServer/Localization/en.json
  • src/GitServer/Localization/es.json
  • src/GitServer/Localization/fr.json
  • src/GitServer/Localization/ja.json
  • src/GitServer/Localization/nl.json
  • src/GitServer/Localization/pt.json
  • src/GitServer/Localization/ru.json
  • src/GitServer/Localization/zh.json
  • src/GitServer/wwwroot/Explore.cshtml
  • src/GitServer/wwwroot/Index.cshtml
  • src/GitServer/wwwroot/User/Profile.cshtml
  • src/GitServer/wwwroot/css/components.css
diff --git a/src/GitServer/Localization/ar.json b/src/GitServer/Localization/ar.json
index 4bc454e..4ae1b11 100644
--- a/src/GitServer/Localization/ar.json
+++ b/src/GitServer/Localization/ar.json
@@ -26,6 +26,7 @@
"badge_private": "خاص",
"badge_public": "عام",
"updated_prefix": "تحديث",
+ "created_prefix": "تم الإنشاء",
"repo_card_collaborators": "مشارك مع:",
"index_recent_repos": "المستودعات الأخيرة",
diff --git a/src/GitServer/Localization/de.json b/src/GitServer/Localization/de.json
index d65916d..8fbde6e 100644
--- a/src/GitServer/Localization/de.json
+++ b/src/GitServer/Localization/de.json
@@ -26,6 +26,7 @@
"badge_private": "Privat",
"badge_public": "Öffentlich",
"updated_prefix": "Aktualisiert",
+ "created_prefix": "Erstellt",
"repo_card_collaborators": "Geteilt mit:",
"index_recent_repos": "Neueste Repositories",
diff --git a/src/GitServer/Localization/en.json b/src/GitServer/Localization/en.json
index 36f9fdc..e7b3a03 100644
--- a/src/GitServer/Localization/en.json
+++ b/src/GitServer/Localization/en.json
@@ -27,6 +27,7 @@
"badge_private": "Private",
"badge_public": "Public",
"updated_prefix": "Updated",
+ "created_prefix": "Created",
"repo_card_collaborators": "Shared with:",
"index_recent_repos": "Recent repositories",
diff --git a/src/GitServer/Localization/es.json b/src/GitServer/Localization/es.json
index 81fc2e6..aa9db48 100644
--- a/src/GitServer/Localization/es.json
+++ b/src/GitServer/Localization/es.json
@@ -26,6 +26,7 @@
"badge_private": "Privado",
"badge_public": "Público",
"updated_prefix": "Actualizado",
+ "created_prefix": "Creado",
"repo_card_collaborators": "Compartido con:",
"index_recent_repos": "Repositorios recientes",
diff --git a/src/GitServer/Localization/fr.json b/src/GitServer/Localization/fr.json
index f126228..ce4a45d 100644
--- a/src/GitServer/Localization/fr.json
+++ b/src/GitServer/Localization/fr.json
@@ -26,6 +26,7 @@
"badge_private": "Privé",
"badge_public": "Public",
"updated_prefix": "Mis à jour",
+ "created_prefix": "Créé",
"repo_card_collaborators": "Partagé avec :",
"index_recent_repos": "Dépôts récents",
diff --git a/src/GitServer/Localization/ja.json b/src/GitServer/Localization/ja.json
index 143014c..0868180 100644
--- a/src/GitServer/Localization/ja.json
+++ b/src/GitServer/Localization/ja.json
@@ -26,6 +26,7 @@
"badge_private": "プライベート",
"badge_public": "パブリック",
"updated_prefix": "更新",
+ "created_prefix": "作成日",
"repo_card_collaborators": "共有先:",
"index_recent_repos": "最近のリポジトリ",
diff --git a/src/GitServer/Localization/nl.json b/src/GitServer/Localization/nl.json
index 95461c4..52f3242 100644
--- a/src/GitServer/Localization/nl.json
+++ b/src/GitServer/Localization/nl.json
@@ -27,6 +27,7 @@
"badge_private": "Privé",
"badge_public": "Publiek",
"updated_prefix": "Bijgewerkt",
+ "created_prefix": "Aangemaakt",
"repo_card_collaborators": "Gedeeld met:",
"index_recent_repos": "Recente repositories",
diff --git a/src/GitServer/Localization/pt.json b/src/GitServer/Localization/pt.json
index 3753762..4b45416 100644
--- a/src/GitServer/Localization/pt.json
+++ b/src/GitServer/Localization/pt.json
@@ -26,6 +26,7 @@
"badge_private": "Privado",
"badge_public": "Público",
"updated_prefix": "Atualizado",
+ "created_prefix": "Criado",
"repo_card_collaborators": "Compartilhado com:",
"index_recent_repos": "Repositórios recentes",
diff --git a/src/GitServer/Localization/ru.json b/src/GitServer/Localization/ru.json
index 6de57de..b08fbaf 100644
--- a/src/GitServer/Localization/ru.json
+++ b/src/GitServer/Localization/ru.json
@@ -26,6 +26,7 @@
"badge_private": "Приватный",
"badge_public": "Публичный",
"updated_prefix": "Обновлено",
+ "created_prefix": "Создано",
"repo_card_collaborators": "Доступ есть у:",
"index_recent_repos": "Последние репозитории",
diff --git a/src/GitServer/Localization/zh.json b/src/GitServer/Localization/zh.json
index 7eb476c..e5ec97c 100644
--- a/src/GitServer/Localization/zh.json
+++ b/src/GitServer/Localization/zh.json
@@ -26,6 +26,7 @@
"badge_private": "私有",
"badge_public": "公开",
"updated_prefix": "更新于",
+ "created_prefix": "创建于",
"repo_card_collaborators": "共享给:",
"index_recent_repos": "最近的仓库",
diff --git a/src/GitServer/wwwroot/Explore.cshtml b/src/GitServer/wwwroot/Explore.cshtml
index fcac149..246cba3 100644
--- a/src/GitServer/wwwroot/Explore.cshtml
+++ b/src/GitServer/wwwroot/Explore.cshtml
@@ -37,7 +37,8 @@
<p class="repo-description">@repo.Description</p>
}
<div class="repo-meta">
- <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy")</span>
+ <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy HH:mm")</span>
+ <span class="text-muted">@L["created_prefix"] @repo.CreatedAt.ToString("d MMM yyyy HH:mm")</span>
</div>
</div>
}
diff --git a/src/GitServer/wwwroot/Index.cshtml b/src/GitServer/wwwroot/Index.cshtml
index abd7173..c9a9a90 100644
--- a/src/GitServer/wwwroot/Index.cshtml
+++ b/src/GitServer/wwwroot/Index.cshtml
@@ -39,7 +39,8 @@
<p class="repo-description">@repo.Description</p>
}
<div class="repo-meta">
- <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy")</span>
+ <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy HH:mm")</span>
+ <span class="text-muted">@L["created_prefix"] @repo.CreatedAt.ToString("d MMM yyyy HH:mm")</span>
</div>
</div>
}
diff --git a/src/GitServer/wwwroot/User/Profile.cshtml b/src/GitServer/wwwroot/User/Profile.cshtml
index 2e13a5f..a006a66 100644
--- a/src/GitServer/wwwroot/User/Profile.cshtml
+++ b/src/GitServer/wwwroot/User/Profile.cshtml
@@ -60,7 +60,8 @@
</p>
}
<div class="repo-meta">
- <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy")</span>
+ <span class="text-muted">@L["updated_prefix"] @repo.UpdatedAt.ToString("d MMM yyyy HH:mm")</span>
+ <span class="text-muted">@L["created_prefix"] @repo.CreatedAt.ToString("d MMM yyyy HH:mm")</span>
</div>
</div>
}
diff --git a/src/GitServer/wwwroot/css/components.css b/src/GitServer/wwwroot/css/components.css
index c303e15..0798eef 100644
--- a/src/GitServer/wwwroot/css/components.css
+++ b/src/GitServer/wwwroot/css/components.css
@@ -168,6 +168,9 @@ textarea.form-control { resize: vertical; }
.repo-meta {
font-size: 0.8125rem;
color: var(--text-muted);
+ display: flex;
+ flex-direction: column;
+ gap: 0.125rem;
}
/* === Badges === */