#757: some refactoring of styles
This commit is contained in:
parent
20691dabc5
commit
4604ceb318
|
@ -1788,5 +1788,5 @@ div.right.slim {
|
|||
|
||||
#extra-repos-and-containers {
|
||||
width: 330px;
|
||||
.actions { width: 50px; }
|
||||
.actions { width: 15px; }
|
||||
}
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue