summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-11-06 12:57:50 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-11-06 12:57:50 +0200
commit1cc5704a00784f71ec2f4392160479fb3044f4d2 (patch)
treee6d4b7f4ee5ebc4ed8b91ed8ff575c3119671816
parent7a84f4c66d5c4adf0b49346e20135ea6a0d5a168 (diff)
downloadgitlab-ci-1cc5704a00784f71ec2f4392160479fb3044f4d2.tar.gz
Minor UI improvements
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/admin/builds/_build.html.haml15
-rw-r--r--app/views/admin/builds/index.html.haml3
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