diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-12-09 02:18:25 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-12-09 02:18:25 -0500 |
commit | 9a1fe801e526ae1bc0a211d8a218aabcf985376d (patch) | |
tree | e40f92f1b34f81c60ffef084761b7d6cd4336aa2 /templates | |
parent | 6f71632e3ef6c0c818b3224e501fa66583108806 (diff) | |
download | gitea-9a1fe801e526ae1bc0a211d8a218aabcf985376d.tar.gz gitea-9a1fe801e526ae1bc0a211d8a218aabcf985376d.zip |
fix #711
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/admin/notice.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/diff.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 9808b62971..f7e9d476cc 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.8.1205 Beta
\ No newline at end of file +0.5.8.1209 Beta
\ No newline at end of file diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index b3abbb6b78..a3ae2a10dd 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -38,8 +38,8 @@ </table> {{if or .LastPageNum .NextPageNum}} <ul class="pagination"> - {{if .LastPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/users?p={{.LastPageNum}}">« {{.i18n.Tr "admin.prev"}}</a></li>{{end}} - {{if .NextPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/users?p={{.NextPageNum}}">» {{.i18n.Tr "admin.next"}}</a></li>{{end}} + {{if .LastPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/notices?p={{.LastPageNum}}">« {{.i18n.Tr "admin.prev"}}</a></li>{{end}} + {{if .NextPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/notices?p={{.NextPageNum}}">» {{.i18n.Tr "admin.next"}}</a></li>{{end}} </ul> {{end}} </div> diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 2726b94d9d..225175e8d1 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -112,7 +112,7 @@ </td> <td class="lines-code"> - <pre>{{ToUtf8 .Content}}</pre> + <pre>{{.Content}}</pre> </td> </tr> {{end}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 8160c17b83..fed91effa7 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -1,7 +1,7 @@ <table id="repo-files-table" class="table-border table-block table-radius"> <thead> <tr> - <th colspan="4" class="clear"> + <th colspan="5" class="clear"> <span class="author left"> {{if .LastCommitUser}} <img class="avatar-24 radius" src="{{.LastCommitUser.AvatarLink}}" /> |