From c32111f87df07b8df879411dd15cdc976b717ff1 Mon Sep 17 00:00:00 2001 From: logikonline Date: Thu, 22 Jan 2026 17:33:00 -0500 Subject: [PATCH] refactor(ui): move license badge to description row in repo list Repositions the license badge from the stats row to the description area, aligning it to the right. This improves visual hierarchy and makes better use of space in the repository list view. --- templates/shared/repo/list.tmpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/shared/repo/list.tmpl b/templates/shared/repo/list.tmpl index a41d5cc877..cf7db13ff1 100644 --- a/templates/shared/repo/list.tmpl +++ b/templates/shared/repo/list.tmpl @@ -51,18 +51,18 @@ {{svg "octicon-git-branch" 16}} {{CountFmt .NumForks}} - {{if and $.PageIsViewRepositories .LicenseType}} - - {{svg "octicon-law" 16}} - {{.LicenseType}} - - {{end}} {{$description := .DescriptionHTML ctx}} - {{if $description}} -
{{$description}}
- {{end}} +
+
{{if $description}}{{$description}}{{end}}
+ {{if .LicenseType}} + + {{svg "octicon-law" 14}} + {{.LicenseType}} + + {{end}} +
{{if .Topics}}
{{range .Topics}}