Fixed: creation of mass builds for personal platforms

This commit is contained in:
Vokhmin Alexey V 2015-03-03 00:06:24 +03:00
parent 97986864ad
commit f6bcb8788f
3 changed files with 14 additions and 3 deletions

View File

@ -42,6 +42,13 @@
= arch.name
- if @platform.personal?
= f.input :build_for_platform_id,
as: :select,
collection: availables_main_platforms,
label_method: :name,
value_method: :id,
include_blank: false
= render 'shared/autocomplete_form',
field: :ExtraRepositories,
placeholder: 'uxteam_personal',
@ -62,7 +69,9 @@
h3= t('activerecord.attributes.build_list.preferences')
= f.input :auto_publish_status, collection: auto_publish_statuses
= f.input :auto_publish_status,
collection: auto_publish_statuses,
include_blank: false
- %i(auto_create_container increase_release_tag include_testing_subrepository use_cached_chroot use_extra_tests).each do |field|
.checkbox

View File

@ -45,7 +45,8 @@ en:
simple_form:
labels:
mass_build:
description: Description
description: "Description"
build_for_platform_id: "Build for platform"
placeholders:
mass_build:
description: Enter the description of mass build here.

View File

@ -46,7 +46,8 @@ ru:
simple_form:
labels:
mass_build:
description: Описание
description: "Описание"
build_for_platform_id: "Собрано для платформы"
placeholders:
mass_build:
description: Введите описание массовой сборки здесь.