diff --git a/app/views/projects/build_lists/show.html.haml b/app/views/projects/build_lists/show.html.haml index d8c5c9719..5ea60692a 100644 --- a/app/views/projects/build_lists/show.html.haml +++ b/app/views/projects/build_lists/show.html.haml @@ -9,7 +9,9 @@ .leftlist= t("activerecord.attributes.build_list.container_path") .rightlist - if @build_list.status == BuildList::BUILD_PUBLISHED - = t("layout.build_lists.container_published") + = raw "%s %s" % [t("layout.build_lists.container_published"), + link_to("#{@build_list.save_to_platform.name}/#{@build_list.save_to_repository.name}", + [@build_list.save_to_platform, @build_list.save_to_repository])] - elsif @build_list.container_path.present? - container_url = "http://#{request.host_with_port}/downloads#{@build_list.container_path}" = link_to container_url, container_url @@ -26,7 +28,7 @@ .rightlist = link_to @build_list.build_for_platform.name, @build_list.build_for_platform .both - .leftlist= t("activerecord.attributes.build_list.save_to_platform") + .leftlist= t("activerecord.attributes.build_list.save_to_repository") .rightlist = link_to "#{@build_list.save_to_platform.name}/#{@build_list.save_to_repository.name}", [@build_list.save_to_platform, @build_list.save_to_repository] .both