summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-11 18:02:48 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-11 18:02:48 -0400
commit963354c5d7e78eb9fed447ab9b9984420573649c (patch)
tree896956c024e2b26f6517ea1a8138d83a7964254f /templates/repo/view_list.tmpl
parent17c1bc73833a25a5841bc5ed344f343535bf1afc (diff)
downloadgitea-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.tmpl4
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>