From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/repo/user_cards.tmpl | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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 0000000..88178db --- /dev/null +++ b/templates/repo/user_cards.tmpl @@ -0,0 +1,32 @@ +
+ {{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