[issue #561] Added bs_id to BuildList#show

This commit is contained in:
George Vinogradov 2012-07-10 02:14:31 +04:00
parent f997e50905
commit 3195969aab
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
- container_url = "http://#{request.host_with_port}/downloads#{@build_list.container_path}" - container_url = "http://#{request.host_with_port}/downloads#{@build_list.container_path}"
= link_to container_url, container_url = link_to container_url, container_url
.both .both
.leftlist= t("activerecord.attributes.build_list.bs_id")
.rightlist= @build_list.bs_id.present? ? @build_list.bs_id : t("layout.build_lists.bs_id_not_set")
.both
.leftlist= t("activerecord.attributes.build_list.user") .leftlist= t("activerecord.attributes.build_list.user")
.rightlist .rightlist
= link_to @build_list.user.try(:fullname), @build_list.user = link_to @build_list.user.try(:fullname), @build_list.user