Merge pull request #313 from warpc/279-new_design_for_platforms

[issue #279] Fixed some bugs in connection info
This commit is contained in:
Vladimir Sharshov 2012-03-19 08:43:23 -07:00
commit c932d14a24
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
.command_select .command_select
%h3= t("layout.platforms.sys_repos_header") %h3= t("layout.platforms.sys_repos_header")
- platforms = Platform.main.open.order('name ASC') - platforms = Platform.main.open.where(:distrib_type => APP_CONFIG['distr_types'].first).order('name ASC')
.leftlist= label_tag :platform, t("layout.platforms.target_platform") .leftlist= label_tag :platform, t("layout.platforms.target_platform")
.rightlist= select_tag :platform, options_from_collection_for_select(platforms, :name, :name, platforms.first.id) .rightlist= select_tag :platform, options_from_collection_for_select(platforms, :name, :name, platforms.first.id)
.both .both

View File

@ -37,6 +37,8 @@ ru:
clone: Клонировать clone: Клонировать
delete_warning: Внимание! Удаленная платформа удалению не подлежит. delete_warning: Внимание! Удаленная платформа удалению не подлежит.
sys_repos_header: Данные для подключения sys_repos_header: Данные для подключения
target_platform: Целевая платформа
target_architecture: Целевая архитектура
flash: flash:
platform: platform: