From ca942240c97f7ab606a467ac368bf5acb81bb7dc Mon Sep 17 00:00:00 2001 From: Gerben Date: Fri, 9 Mar 2018 13:32:57 +0100 Subject: [PATCH] Add original user/profile.tmpl --- templates/user/profile.tmpl | 116 ++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 templates/user/profile.tmpl diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl new file mode 100644 index 0000000..669ee32 --- /dev/null +++ b/templates/user/profile.tmpl @@ -0,0 +1,116 @@ +{{template "base/head" .}} +
+
+
+
+
+ {{if eq .SignedUserName .Owner.Name}} + + + + {{else}} + + + + {{end}} +
+ {{if .Owner.FullName}}{{.Owner.FullName}}{{end}} + {{.Owner.Name}} +
+
+ +
+
+
+
+ + + {{if eq .TabName "activity"}} +
+ {{template "user/dashboard/feeds" .}} +
+ {{else if eq .TabName "stars"}} +
+ {{template "explore/search" .}} + {{template "explore/repo_list" .}} + {{template "base/paginate" .}} +
+ {{else}} + {{template "explore/search" .}} + {{template "explore/repo_list" .}} + {{template "base/paginate" .}} + {{end}} +
+
+
+
+{{template "base/footer" .}}