[issue #590] Changed BuildList show page.

This commit is contained in:
George Vinogradov 2012-08-06 16:42:58 +04:00
parent dadbaefea4
commit cef621d6ae
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@
.both .both
.leftlist= t("activerecord.attributes.build_list.save_to_platform") .leftlist= t("activerecord.attributes.build_list.save_to_platform")
.rightlist .rightlist
= link_to @build_list.save_to_platform.name, @build_list.save_to_platform = link_to "#{@build_list.save_to_platform.name}/#{@build_list.save_to_repository.name}", [@build_list.save_to_platform, @build_list.save_to_repository]
\/
= link_to @build_list.save_to_repository.name, [@build_list.save_to_platform, @build_list.save_to_repository]
.both .both
.leftlist= t("activerecord.attributes.build_list.include_repos") .leftlist= t("activerecord.attributes.build_list.include_repos")
.rightlist= (@build_list.include_repos||[]).map{|r| Repository.find(r).name}.join(', ') .rightlist= (@build_list.include_repos||[]).map{|r| Repository.find(r).name}.join(', ')