diff --git a/appview/pages/templates/layouts/repobase.html b/appview/pages/templates/layouts/repobase.html index 9fdd77e3..abc95fe4 100644 --- a/appview/pages/templates/layouts/repobase.html +++ b/appview/pages/templates/layouts/repobase.html @@ -5,7 +5,7 @@ {{ if .RepoInfo.Source }}

- {{ i "git-fork" "w-3 h-3 mr-1"}} + {{ i "git-fork" "w-3 h-3 mr-1 shrink-0" }} forked from {{ $sourceOwner := didOrHandle .RepoInfo.Source.Did .RepoInfo.SourceHandle }} {{ $sourceOwner }}/{{ .RepoInfo.Source.Name }} diff --git a/appview/pages/templates/user/fragments/repoCard.html b/appview/pages/templates/user/fragments/repoCard.html index fd336728..15c786d7 100644 --- a/appview/pages/templates/user/fragments/repoCard.html +++ b/appview/pages/templates/user/fragments/repoCard.html @@ -4,8 +4,13 @@ {{ $fullName := index . 2 }} {{ with $repo }} -
-
+
+
+ {{ if .Source }} + {{ i "git-fork" "w-4 h-4 mr-1.5 shrink-0" }} + {{ else }} + {{ i "book-marked" "w-4 h-4 mr-1.5 shrink-0" }} + {{ end }} {{- if $fullName -}} {{ index $root.DidHandleMap .Did }}/{{ .Name }} {{- end -}}
- {{ if .Source }} -
- {{ i "git-fork" "w-3 h-3 mr-1" }} - fork -
- {{ end }} {{ with .Description }}
{{ . }} @@ -36,13 +35,11 @@ {{ end }} {{ define "repoStats" }} -
+
{{ with .Language }}
-
+
{{ . }}
{{ end }}