From 19176ced07a06bbee14cb7f92aa6ed923eab2ee9 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Fri, 22 Feb 2013 20:04:35 +0600 Subject: [PATCH] #954 fix monitoring page error --- 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 3bda15d53..4452174c3 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.save_to_platform.personal? + -build_for=" (#{build_list.build_for_platform.name})" if build_list.build_for_platform && 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