#881: move "use_save_to_repository" field on #new page

This commit is contained in:
Vokhmin Alexey V 2013-02-04 17:04:59 +04:00
parent 34772d0404
commit cfdd905306
3 changed files with 5 additions and 5 deletions

View File

@ -13,9 +13,6 @@
%section.right %section.right
%h3= t("activerecord.attributes.build_list.save_to_repository") %h3= t("activerecord.attributes.build_list.save_to_repository")
.lineForm= f.select :save_to_repository_id, @project.repositories.collect{|r| ["#{r.platform.name}/#{r.name}", r.id, {:publish_without_qa => r.publish_without_qa? ? 1 : 0, :platform_id => r.platform.id}]} .lineForm= f.select :save_to_repository_id, @project.repositories.collect{|r| ["#{r.platform.name}/#{r.name}", r.id, {:publish_without_qa => r.publish_without_qa? ? 1 : 0, :platform_id => r.platform.id}]}
.both
= f.check_box :use_save_to_repository
= f.label :use_save_to_repository
%h3= t("activerecord.attributes.build_list.project_version") %h3= t("activerecord.attributes.build_list.project_version")
.lineForm= f.select :project_version, versions_for_group_select(@project), :selected => params[:build_list].try(:fetch, :project_version) || @project.default_branch .lineForm= f.select :project_version, versions_for_group_select(@project), :selected => params[:build_list].try(:fetch, :project_version) || @project.default_branch
%h3= t("activerecord.attributes.build_list.arch") %h3= t("activerecord.attributes.build_list.arch")
@ -29,6 +26,9 @@
.both .both
= f.check_box :auto_publish = f.check_box :auto_publish
= f.label :auto_publish = f.label :auto_publish
.both
= f.check_box :use_save_to_repository
= f.label :use_save_to_repository
%br %br
= f.submit t("layout.projects.build_button") = f.submit t("layout.projects.build_button")

View File

@ -20,7 +20,7 @@ en:
include_repos: Included repositories include_repos: Included repositories
created_at: Created on created_at: Created on
save_to_repository: Save to repository save_to_repository: Save to repository
use_save_to_repository: Use repository for store on building use_save_to_repository: Use 'save to repository' for assembly
build_for_platform: Build for platform build_for_platform: Build for platform
update_type: Update type update_type: Update type
auto_publish: Automated publising auto_publish: Automated publising

View File

@ -20,7 +20,7 @@ ru:
include_repos: Подключаемые репозитории include_repos: Подключаемые репозитории
created_at: Создан created_at: Создан
save_to_repository: Сохранить в репозиторий save_to_repository: Сохранить в репозиторий
use_save_to_repository: Использовать репозиторий для сохранения при сборке use_save_to_repository: Использовать 'cохранить в репозиторий' для сборки
build_for_platform: Собрано для платформы build_for_platform: Собрано для платформы
update_type: Критичность обновления update_type: Критичность обновления
auto_publish: Автоматическая публикация auto_publish: Автоматическая публикация