From 65aa53fc52ff15efe54df4147564828d535837f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Oct 2024 12:27:00 +0200 Subject: Adding upstream version 8.0.3. Signed-off-by: Daniel Baumann --- templates/repo/user_cards.tmpl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 templates/repo/user_cards.tmpl (limited to 'templates/repo/user_cards.tmpl') diff --git a/templates/repo/user_cards.tmpl b/templates/repo/user_cards.tmpl new file mode 100644 index 00000000..9061b177 --- /dev/null +++ b/templates/repo/user_cards.tmpl @@ -0,0 +1,29 @@ +
+ {{if .CardsTitle}} +

+ {{.CardsTitle}} +

+ {{end}} +
    + {{range .Cards}} +
  • + + {{ctx.AvatarUtils.Avatar .}} + +

    {{.DisplayName}}

    + +
    + {{if .Website}} + {{svg "octicon-link"}} {{.Website}} + {{else if .Location}} + {{svg "octicon-location"}} {{.Location}} + {{else}} + {{svg "octicon-calendar"}} {{ctx.Locale.Tr "user.joined_on" (DateTime "short" .CreatedUnix)}} + {{end}} +
    +
  • + {{end}} +
+ + {{template "base/paginate" .}} +
-- cgit v1.2.3