From d88ebd9a4b0e8102d2f5cd9cb3a95845f2a46522 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 19 Oct 2014 02:22:38 -0400 Subject: Fix #554 --- templates/user/profile.tmpl | 70 +++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 34 deletions(-) (limited to 'templates/user/profile.tmpl') diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 62fe4c5d9b..af3d11a034 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -2,12 +2,12 @@ {{template "ng/base/header" .}}
-
-
+
+
-
+
{{if .Owner.FullName}}{{.Owner.FullName}}
{{end}} {{.Owner.Name}}
@@ -50,40 +50,42 @@
-
- -
- {{if eq .TabName "activity"}} -
-
- {{template "user/dashboard/feeds" .}} -
- {{else}} -
-
- {{range .Repos}} - {{if not .IsPrivate}} -
-
    -
  • {{.NumStars}}
  • -
  • {{.NumForks}}
  • -
-

{{.Name}}

-

{{.Description}}

-

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}

-
+
+
+ +
+ {{if eq .TabName "activity"}} +
+
+ {{template "user/dashboard/feeds" .}} +
+ {{else}} +
+
+ {{range .Repos}} + {{if not .IsPrivate}} +
+
    +
  • {{.NumStars}}
  • +
  • {{.NumForks}}
  • +
+

{{.Name}}

+

{{.Description}}

+

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}

+
+ {{end}} {{end}} - {{end}} +
+ {{end}}
- {{end}}
-- cgit v1.2.3