From 5e8138341357f367868a32b631495c9d5a286477 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 26 Jul 2014 18:37:18 -0400 Subject: Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module --- templates/user/dashboard/dashboard.tmpl | 48 +++++++++++++++++++++++++++++++-- templates/user/dashboard/nav.tmpl | 2 +- templates/user/dashboard/repo_list.tmpl | 12 --------- 3 files changed, 47 insertions(+), 15 deletions(-) delete mode 100644 templates/user/dashboard/repo_list.tmpl (limited to 'templates/user/dashboard') diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index 209a495b58..b472953136 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -48,7 +48,9 @@
+ {{if not .ContextUser.IsOrganization}}

{{.i18n.Tr "home.my_orgs"}}

+
+ +
+ {{end}}

{{.i18n.Tr "home.my_mirrors"}}

diff --git a/templates/user/dashboard/nav.tmpl b/templates/user/dashboard/nav.tmpl index 6064f35692..a2d990fa7d 100644 --- a/templates/user/dashboard/nav.tmpl +++ b/templates/user/dashboard/nav.tmpl @@ -15,7 +15,7 @@ {{.SignedUser.Name}} - {{range .Orgs}} + {{range .ContextUser.Orgs}}
  • diff --git a/templates/user/dashboard/repo_list.tmpl b/templates/user/dashboard/repo_list.tmpl deleted file mode 100644 index e3d35e8ecc..0000000000 --- a/templates/user/dashboard/repo_list.tmpl +++ /dev/null @@ -1,12 +0,0 @@ -
  • - - - - - {{.Name}} - - - {{.NumStars}} - - -
  • \ No newline at end of file -- cgit v1.2.3