[refs #442] Remove button. Add tab. Fix locales. Fix schema
This commit is contained in:
parent
43e95b565e
commit
45ff187875
|
@ -10,6 +10,8 @@
|
|||
= link_to t("layout.platforms.about"), platform_path(@platform)
|
||||
%li{:class => (contr == :repositories) ? 'active' : ''}
|
||||
= link_to t("layout.repositories.list_header"), platform_repositories_path(@platform)
|
||||
- if can? :mass_builds, @platform
|
||||
%li= link_to t("layout.platforms.mass_build"), mass_builds_platform_path(@platform)
|
||||
- if can? :read, @platform.products.build
|
||||
%li{:class => (contr == :products) ? 'active' : ''}
|
||||
= link_to t("layout.products.list_header"), platform_products_path(@platform)
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
%td= @platform.distrib_type
|
||||
|
||||
.buttons_block
|
||||
- if can? :mass_builds, @platform
|
||||
= link_to t("layout.platforms.mass_build"), mass_builds_platform_path(@platform), :class => "button left_floated"
|
||||
= link_to I18n.t("layout.platforms.clone"), clone_platform_path(@platform), :class => "button left_floated" if can? :clone, @platform
|
||||
|
||||
= render 'connection_info' if @platform.platform_type == 'personal' and @platform.visibility == 'open'
|
||||
|
|
|
@ -28,7 +28,7 @@ en:
|
|||
preferences: Preferences
|
||||
started_at: Build started at
|
||||
duration: Build duration in seconds
|
||||
mass_build_id: Mass Build
|
||||
mass_build_id: Mass build
|
||||
|
||||
build_list/item:
|
||||
name: Name
|
||||
|
|
|
@ -27,7 +27,7 @@ ru:
|
|||
user: Пользователь
|
||||
preferences: Настройки
|
||||
duration: Длительность билда в секундах
|
||||
mass_build_id: Массовая Сборка
|
||||
mass_build_id: Массовая сборка
|
||||
|
||||
build_list/item:
|
||||
name: Название
|
||||
|
|
|
@ -42,7 +42,7 @@ en:
|
|||
members: Members
|
||||
project: Project
|
||||
arch: Architecture
|
||||
mass_build: Mass Build
|
||||
mass_build: Mass build
|
||||
build_task: Build Task
|
||||
refresh_button: Refresh
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ ActiveRecord::Schema.define(:version => 20120523113925) do
|
|||
t.string "owner_type"
|
||||
t.string "visibility", :default => "open", :null => false
|
||||
t.string "platform_type", :default => "main", :null => false
|
||||
t.string "distrib_type"
|
||||
t.string "distrib_type", :null => false
|
||||
end
|
||||
|
||||
add_index "platforms", ["name"], :name => "index_platforms_on_name", :unique => true, :case_sensitive => false
|
||||
|
|
Loading…
Reference in New Issue