diff options
-rw-r--r-- | app/views/admin/builds/_build.html.haml | 15 | ||||
-rw-r--r-- | app/views/admin/builds/index.html.haml | 3 |
2 files changed, 11 insertions, 7 deletions
diff --git a/app/views/admin/builds/_build.html.haml b/app/views/admin/builds/_build.html.haml index 7ded0f3..9d85fe7 100644 --- a/app/views/admin/builds/_build.html.haml +++ b/app/views/admin/builds/_build.html.haml @@ -1,23 +1,26 @@ %tr.build.alert{class: build_status_alert_class(build)} + %td.build-link + = link_to build_url(build) do + %strong #{build.id} + %td.status = build.status + %td.commit-link + = commit_link(build.commit) + %td.runner - if build.runner = link_to build.runner.id, admin_runner_path(build.runner) - %td.build-link - = link_to build_url(build) do - %strong #{build.short_sha} - %td.build-project = truncate build.project.name, length: 30 %td.build-message - %span= truncate(build.commit.git_commit_message, length: 50) + %span= truncate(build.commit.git_commit_message, length: 30) %td.build-branch - = build.ref + %span= truncate(build.ref, length: 25) %td.duration - if build.duration diff --git a/app/views/admin/builds/index.html.haml b/app/views/admin/builds/index.html.haml index ba3f52c..96302cb 100644 --- a/app/views/admin/builds/index.html.haml +++ b/app/views/admin/builds/index.html.haml @@ -9,9 +9,10 @@ %table.builds %thead %tr + %th Build %th Status - %th Runner %th Commit + %th Runner %th Project %th Message %th Branch |