diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-16 17:02:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-16 17:02:34 +0200 |
commit | dc9b1a81d33bdf9e8d615d6ac1a619de76d1cec3 (patch) | |
tree | 3361cb9678ccda837f55bccee63a762f40fe4f80 /app/views/builds/show.html.haml | |
parent | 6d68dbeb1dfab0512a1620b410b8d424a41d84c8 (diff) | |
download | gitlab-ci-dc9b1a81d33bdf9e8d615d6ac1a619de76d1cec3.tar.gz |
Better gitlab integration
Diffstat (limited to 'app/views/builds/show.html.haml')
-rw-r--r-- | app/views/builds/show.html.haml | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/app/views/builds/show.html.haml b/app/views/builds/show.html.haml index 134258e..1e8fda6 100644 --- a/app/views/builds/show.html.haml +++ b/app/views/builds/show.html.haml @@ -45,22 +45,20 @@ %legend Commit %p %b ID: - #{@build.sha} + #{build_commit_link @build} + - if @build.compare? + %p + %b Compare: + #{build_compare_link @build} %p %b Branch: - #{@build.ref} - - if @build.git_author_name - %p - %b Author: - #{@build.git_author_name} - - if @build.git_commit_message - %p - %b Message: - #{@build.git_commit_message} - - if @project.gitlab_url - %p - %b Show on GitLab: - = gitlab_build_compare_link(@build, @project) + #{build_ref_link @build} + %p + %b Author: + #{@build.git_author_name} + %p + %b Message: + #{@build.git_commit_message} .clearfix %pre.trace#build-trace |