From 4d123d0a932b1a3039e2e0ebf9ced7278b42395a Mon Sep 17 00:00:00 2001 From: James Cracknell Date: Fri, 28 Nov 2014 11:53:00 -0700 Subject: [PATCH] Fix user links --- templates/repo/issue/list.tmpl | 2 +- templates/repo/issue/view.tmpl | 24 ++++++++++++------------ templates/repo/release/list.tmpl | 2 +- templates/user/issues.tmpl | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 0f9daae9fe..db2d0752c1 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -85,7 +85,7 @@

- {{.Poster.Name}} + {{.Poster.Name}} {{TimeSince .Created $.Lang}} {{.NumComments}}

diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index 68bc047b56..738e0c3450 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -8,7 +8,7 @@
#{{.Issue.Index}}
- +

{{.Issue.Name}}

@@ -17,7 +17,7 @@ {{end}} {{if .Issue.IsClosed}}Closed{{else}}Open{{end}} - {{.Issue.Poster.Name}} opened this issue + {{.Issue.Poster.Name}} opened this issue {{TimeSince .Issue.Created $.Lang}} ยท {{.Issue.NumComments}} comments

@@ -63,10 +63,10 @@ {{/* 0 = COMMENT, 1 = REOPEN, 2 = CLOSE, 3 = ISSUE, 4 = COMMIT, 5 = PULL */}} {{if eq .Type 0}}
- +
- {{.Poster.Name}} commented {{TimeSince .Created $.Lang}} + {{.Poster.Name}} commented {{TimeSince .Created $.Lang}} Owner @@ -93,25 +93,25 @@
{{else if eq .Type 1}}
- +
- {{.Poster.Name}} Reopened this issue {{TimeSince .Created $.Lang}} + {{.Poster.Name}} Reopened this issue {{TimeSince .Created $.Lang}}
{{else if eq .Type 2}}
- +
- {{.Poster.Name}} Closed this issue {{TimeSince .Created $.Lang}} + {{.Poster.Name}} Closed this issue {{TimeSince .Created $.Lang}}
{{else if eq .Type 4}}
- +
- {{.Poster.Name}} Referenced this issue {{TimeSince .Created $.Lang}} + {{.Poster.Name}} Referenced this issue {{TimeSince .Created $.Lang}}

- + {{.ContentHtml}}

@@ -120,7 +120,7 @@ {{end}}
{{if .SignedUser}}
- +
{{.CsrfTokenHtml}}
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 1eb11fc5e6..b3e3db9535 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -28,7 +28,7 @@

{{.Title}} (edit)

   - {{.Publisher.Name}} + {{.Publisher.Name}} {{if .Created}}{{TimeSince .Created $.Lang}}{{end}} {{.NumCommitsBehind}} commits to {{.Target}} since this release

diff --git a/templates/user/issues.tmpl b/templates/user/issues.tmpl index 4549203930..bb81d4fae8 100644 --- a/templates/user/issues.tmpl +++ b/templates/user/issues.tmpl @@ -40,7 +40,7 @@
{{.Name}}

- {{.Poster.Name}} + {{.Poster.Name}} {{TimeSince .Created $.Lang}} {{.NumComments}}