#954 fix monitoring page error

This commit is contained in:
Alexander Machehin 2013-02-22 20:04:35 +06:00
parent 96abcad5ce
commit 19176ced07
1 changed files with 1 additions and 1 deletions

View File

@ -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