From 6f2fde93b70427747001bc376f205b553fd78c82 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Tue, 12 Aug 2025 13:36:11 +0100 Subject: [PATCH] appview/pages: improve styles for strings Signed-off-by: oppiliappan --- appview/pages/templates/strings/string.html | 23 ++++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/appview/pages/templates/strings/string.html b/appview/pages/templates/strings/string.html index 239b082b..b275df8b 100644 --- a/appview/pages/templates/strings/string.html +++ b/appview/pages/templates/strings/string.html @@ -19,7 +19,7 @@
{{ $ownerId }} / - {{ .String.Filename }} + {{ .String.Filename }}
{{ if and .LoggedInUser (eq .LoggedInUser.Did .String.Did) }}
@@ -44,22 +44,25 @@
{{ end }} - + {{ with .String.Description }} {{ . }} - - {{ end }} - - {{ with .String.Edited }} - edited {{ template "repo/fragments/shortTimeAgo" . }} - {{ else }} - {{ template "repo/fragments/shortTimeAgo" .String.Created }} {{ end }}
- {{ .String.Filename }} + + {{ .String.Filename }} + + + {{ with .String.Edited }} + edited {{ template "repo/fragments/shortTimeAgo" . }} + {{ else }} + {{ template "repo/fragments/shortTimeAgo" .String.Created }} + {{ end }} + +
{{ .Stats.LineCount }} lines -- 2.51.2