diff options
author | Rémy Boulanouar <rboulanouar@gmail.com> | 2017-09-14 08:51:32 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-09-14 14:51:31 +0800 |
commit | be3319b3d545289b772d7a92b4b62205863954d9 (patch) | |
tree | 89473f47f6303ea5ab57ade7901de1a3a48dd673 /templates/repo/diff | |
parent | a89692d15884271a2927b5f7332ed074116d324c (diff) | |
download | gitea-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/diff')
-rw-r--r-- | templates/repo/diff/page.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl index 4ddf3ad436..2736daa7f9 100644 --- a/templates/repo/diff/page.tmpl +++ b/templates/repo/diff/page.tmpl @@ -9,7 +9,7 @@ <a class="ui floated right blue tiny button" href="{{EscapePound .SourcePath}}"> {{.i18n.Tr "repo.diff.browse_source"}} </a> - {{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas}} + <h3>{{RenderCommitMessage false .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}</h3> </div> <div class="ui attached info segment {{if .Commit.Signature}} isSigned {{if .Verification.Verified }} isVerified {{end}}{{end}}"> {{if .Author}} |