aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2017-09-14 08:51:32 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-09-14 14:51:31 +0800
commitbe3319b3d545289b772d7a92b4b62205863954d9 (patch)
tree89473f47f6303ea5ab57ade7901de1a3a48dd673 /templates/repo/view_list.tmpl
parenta89692d15884271a2927b5f7332ed074116d324c (diff)
downloadgitea-be3319b3d545289b772d7a92b4b62205863954d9.tar.gz
gitea-be3319b3d545289b772d7a92b4b62205863954d9.zip
Display commit status on landing page of repo (#1784)
* Display commit status on landing page of repo * improve last status of commits and add link to ci * fix last commit status since the order of ids are desc
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 663ef41447..67164753e9 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -25,7 +25,8 @@
</div>
{{end}}
</a>
- <span class="grey has-emoji">{{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}}</span>
+ <span class="grey has-emoji">{{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}}
+ {{template "repo/commit_status" .LatestCommitStatus}}</span>
</th>
<th class="nine wide">
</th>