diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-11 18:02:48 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-11 18:02:48 -0400 |
commit | 963354c5d7e78eb9fed447ab9b9984420573649c (patch) | |
tree | 896956c024e2b26f6517ea1a8138d83a7964254f /templates/repo/view_list.tmpl | |
parent | 17c1bc73833a25a5841bc5ed344f343535bf1afc (diff) | |
download | gitea-963354c5d7e78eb9fed447ab9b9984420573649c.tar.gz gitea-963354c5d7e78eb9fed447ab9b9984420573649c.zip |
Add raw, history file button, and other mirror fixes
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r-- | templates/repo/view_list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index e6c43d9e40..032b9e0f1b 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -10,7 +10,7 @@ <strong>{{ShortSha .LastCommit.Id.String}}</strong></a> <span class="text-truncate">{{.LastCommit.Summary}}</span> </span> - <span class="age right">{{TimeSince .LastCommit.Author.When .i18n.Lang}}</span> + <span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span> </th> </tr> </thead> @@ -45,7 +45,7 @@ <td class="msg"> <a class="text-truncate" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.Id}}" rel="nofollow">{{$commit.Summary}}</a> </td> - <td class="age">{{TimeSince $commit.Committer.When $.i18n.Lang}}</td> + <td class="age">{{TimeSince $commit.Committer.When $.Lang}}</td> </tr> {{end}} </tbody> |