From fc3dbbf698d6ae9b404eb34a111fd30057cc9413 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 8 Nov 2012 15:11:44 +0400 Subject: [PATCH] added help for creating ISO --- .../product_build_lists/new.html.haml | 20 +++++++++++++++---- .../locales/models/product_build_list.en.yml | 4 ++++ .../locales/models/product_build_list.ru.yml | 4 ++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/views/platforms/product_build_lists/new.html.haml b/app/views/platforms/product_build_lists/new.html.haml index 990c636f7..e74a02eab 100644 --- a/app/views/platforms/product_build_lists/new.html.haml +++ b/app/views/platforms/product_build_lists/new.html.haml @@ -4,23 +4,35 @@ %h3= t("layout.product_build_lists.main_data") = form_for @product_build_list, :url => platform_product_product_build_lists_path(@platform, @product), :html => {:class => :form} do |f| - .leftlist= f.label :project, t("activerecord.attributes.product_build_lists.project"), :class => :label + .leftlist= f.label :project, t("activerecord.attributes.product_build_list.project"), :class => :label .rightlist= @product_build_list.product.project.try(:name_with_owner) .both - .leftlist= f.label :project_version, t("activerecord.attributes.product_build_lists.project_version"), :class => :label + .leftlist= f.label :project_version, t("activerecord.attributes.product_build_list.project_version"), :class => :label .rightlist= f.select :project_version, versions_for_group_select(@project), :selected => params[:product_build_lists].try(:fetch, :project_version) || "latest_" + @project.default_branch .both - .leftlist= f.label :main_script, t("activerecord.attributes.product_build_lists.main_script"), :class => :label + .leftlist= f.label :main_script, t("activerecord.attributes.product_build_list.main_script"), :class => :label .rightlist= f.text_field :main_script .both - .leftlist= f.label :params, t("activerecord.attributes.product_build_lists.params"), :class => :label + .leftlist= f.label :params, t("activerecord.attributes.product_build_list.params"), :class => :label .rightlist= f.text_field :params .both = f.submit t("layout.projects.build_button") +%br +%div + %h3= t('layout.product_build_lists.work_env') + = '/home/vagrant/iso_builder - ' + = t('layout.product_build_lists.iso_builder_folder') + %br + = '/home/vagrant/results - ' + = t('layout.product_build_lists.results_folder') + %br + = '/home/vagrant/archives - ' + = t('layout.product_build_lists.archives_folder') + :javascript $('article .all').addClass('bigpadding'); \ No newline at end of file diff --git a/config/locales/models/product_build_list.en.yml b/config/locales/models/product_build_list.en.yml index c2572c2bf..2322b52d3 100644 --- a/config/locales/models/product_build_list.en.yml +++ b/config/locales/models/product_build_list.en.yml @@ -1,6 +1,10 @@ en: layout: product_build_lists: + work_env: Work environment + iso_builder_folder: folder with contents of the GIT project + results_folder: all files from this folder will be uploaded into the file-store + archives_folder: this folder will be archived and uploaded into the file-store delete: Delete action: Action id_search: 'Id search' diff --git a/config/locales/models/product_build_list.ru.yml b/config/locales/models/product_build_list.ru.yml index 62123575c..7b233383a 100644 --- a/config/locales/models/product_build_list.ru.yml +++ b/config/locales/models/product_build_list.ru.yml @@ -1,6 +1,10 @@ ru: layout: product_build_lists: + work_env: Рабочее пространство + iso_builder_folder: папка с содержимым GIT проекта + results_folder: все файлы из этой папки будут загружены на file-store + archives_folder: эта папка будет заархивирована и загружена на file-store delete: Удалить action: Действие id_search: 'Поиск по Id'