From b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Thu, 1 Sep 2016 23:08:05 +1000 Subject: Add the ability to explore organizations (#3573) * Add ability to explore organizations * Use right icon for org explore links --- templates/explore/navbar.tmpl | 3 +++ templates/explore/organizations.tmpl | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 templates/explore/organizations.tmpl (limited to 'templates') diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl index 1e2ab786..2e20da0f 100644 --- a/templates/explore/navbar.tmpl +++ b/templates/explore/navbar.tmpl @@ -7,5 +7,8 @@ {{.i18n.Tr "explore.users"}} + + {{.i18n.Tr "explore.organizations"}} + diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl new file mode 100644 index 00000000..6953414e --- /dev/null +++ b/templates/explore/organizations.tmpl @@ -0,0 +1,35 @@ +{{template "base/head" .}} +
+
+
+ {{template "explore/navbar" .}} +
+ {{template "explore/search" .}} + +
+ {{range .Users}} +
+ +
+ {{.Name}} {{.FullName}} +
+ {{if .Location}} + {{.Location}} + {{end}} + {{if and .Website}} + + {{.Website}} + {{end}} + {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} +
+
+
+ {{end}} +
+ + {{template "explore/page" .}} +
+
+
+
+{{template "base/footer" .}} -- cgit v1.2.3