diff --git a/app/assets/stylesheets/design/custom.scss b/app/assets/stylesheets/design/custom.scss index 217765b4f..0d04cf8b7 100644 --- a/app/assets/stylesheets/design/custom.scss +++ b/app/assets/stylesheets/design/custom.scss @@ -1788,5 +1788,5 @@ div.right.slim { #extra-repos-and-containers { width: 330px; - .actions { width: 50px; } + .actions { width: 15px; } } \ No newline at end of file diff --git a/app/controllers/projects/build_lists_controller.rb b/app/controllers/projects/build_lists_controller.rb index 4df6fd763..f2aac51cd 100644 --- a/app/controllers/projects/build_lists_controller.rb +++ b/app/controllers/projects/build_lists_controller.rb @@ -118,7 +118,7 @@ class Projects::BuildListsController < Projects::BaseController platforms.each{ |p| p.repositories.each{ |r| results << {id: r.id, label: "#{p.name}/#{r.name}", value: "#{p.name}/#{r.name}"} } } bl = BuildList.where(id: params[:term]).first - results << {id: "#{bl.id}-build-list", value: bl.id, label: 'Build list'} if bl + results << {id: "#{bl.id}-build-list", value: bl.id, label: "#{bl.id} (#{bl.project.name} - #{bl.arch.name})"} if bl render json: results.to_json end diff --git a/app/views/projects/build_lists/_extra.html.haml b/app/views/projects/build_lists/_extra.html.haml index ec6b3776a..6b4efb225 100644 --- a/app/views/projects/build_lists/_extra.html.haml +++ b/app/views/projects/build_lists/_extra.html.haml @@ -1,6 +1,6 @@ %tr - if subject.is_a?(BuildList) - %td= link_to subject.id, subject + %td= link_to "#{subject.id} (#{subject.project.name} - #{subject.arch.name})", subject - else %td= link_to "#{subject.platform.name}/#{subject.name}", [subject.platform, subject] %td.actions