From bb65a74f2a5cd35ad85a7fdb39760062b73d6a07 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Sat, 16 Feb 2013 00:21:32 +0600 Subject: [PATCH] #921 fixed showing build for platform --- app/views/projects/build_lists/_build_list.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/build_lists/_build_list.html.haml b/app/views/projects/build_lists/_build_list.html.haml index 7a511e5f5..a9face2bb 100644 --- a/app/views/projects/build_lists/_build_list.html.haml +++ b/app/views/projects/build_lists/_build_list.html.haml @@ -16,7 +16,7 @@ - else %td.centered{:colspan => 2}= t("layout.projects.unexisted_project") %td= get_version_release build_list - -build_for=" (#{build_list.build_for_platform.name})" if build_list.build_for_platform.personal? + -build_for=" (#{build_list.build_for_platform.name})" if build_list.save_to_platform.personal? %td= link_to "#{build_list.save_to_platform.name}/#{build_list.save_to_repository.name}#{build_for}", [build_list.save_to_platform, build_list.save_to_repository] %td= build_list.arch.try(:name) || t("layout.arches.unexisted_arch") %td= link_to build_list.user.try(:fullname), build_list.user