diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-10-11 17:36:33 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-10-11 17:36:33 -0400 |
commit | 17c1bc73833a25a5841bc5ed344f343535bf1afc (patch) | |
tree | c9490d27fdb4b47a25e5004a5c14d3c22b3380a1 | |
parent | e848b17fab55569b323b9093eb49e9f78df2422c (diff) | |
parent | 5103f16f786e9b1b7f8896d5c40bb91990c2aa4e (diff) | |
download | gitea-17c1bc73833a25a5841bc5ed344f343535bf1afc.tar.gz gitea-17c1bc73833a25a5841bc5ed344f343535bf1afc.zip |
Merge pull request #549 from m0sth8/fix-timesince
Add omitted lang
-rw-r--r-- | templates/admin/monitor.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/create.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/monitor.tmpl b/templates/admin/monitor.tmpl index b94f92b664..5da8f48eb5 100644 --- a/templates/admin/monitor.tmpl +++ b/templates/admin/monitor.tmpl @@ -58,7 +58,7 @@ <td>{{.Pid}}</td> <td>{{.Description}}</td> <td>{{.Start}}</td> - <td>{{TimeSince .Start}}</td> + <td>{{TimeSince .Start .i18n.Lang}}</td> </tr> {{end}} </tbody> diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl index 9b5468397d..a2471a0638 100644 --- a/templates/repo/issue/create.tmpl +++ b/templates/repo/issue/create.tmpl @@ -71,7 +71,7 @@ {{range .ClosedMilestones}} <li class="milestone-item" data-id="{{.Id}}"> <p><strong>{{.Name}}</strong></p> - <p>Closed {{TimeSince .ClosedDate}}</p> + <p>Closed {{TimeSince .ClosedDate $.Lang}}</p> </li> {{end}} </ul> |