From 376a629c9f99893f341e76163e9b61273dd32c28 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 17 Jun 2018 22:18:41 +0800 Subject: repo: add changes to repository avatar feature (#5221) --- templates/explore/repo_list.tmpl | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'templates/explore') diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 413cdc53..f215c21c 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -2,31 +2,29 @@ {{range .Repos}}
-
+
{{if .RelAvatarLink}}{{else}}{{end}}
-
-
- {{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} - {{if .IsPrivate}} - - {{else if .IsFork}} - - {{else if .IsMirror}} - - {{else}} - - {{end}} +
+
+ {{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} + {{if .IsPrivate}} + + {{else if .IsFork}} + + {{else if .IsMirror}} + + {{end}} -
- {{.NumStars}} - {{.NumForks}} +
+ {{.NumStars}} + {{.NumForks}} +
+
+ {{if .Description}}

{{.Description | Str2html}}

{{end}} +

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}

- {{if .Description}}

{{.Description | Str2html}}

{{end}} -

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}

-
-
{{end}}
-- cgit v1.2.3