[ref #442] Add id column

This commit is contained in:
konstantin.grabar 2012-05-28 23:18:50 +04:00
parent a446bd38e5
commit 5e9f348074
3 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,7 @@
%table.tablesorter.unbordered %table.tablesorter.unbordered
%thead %thead
%tr %tr
%th.lpadding16= t('activerecord.attributes.mass_build.id')
%th.lpadding16= t('activerecord.attributes.mass_build.name') %th.lpadding16= t('activerecord.attributes.mass_build.name')
%th.lpadding16= t('activerecord.attributes.mass_build.arch_names') %th.lpadding16= t('activerecord.attributes.mass_build.arch_names')
%th.lpadding16= t('activerecord.attributes.mass_build.user') %th.lpadding16= t('activerecord.attributes.mass_build.user')
@ -35,6 +36,7 @@
%th.lpadding16= t('activerecord.attributes.mass_build.created_at') %th.lpadding16= t('activerecord.attributes.mass_build.created_at')
- @mass_builds.each do |mass_build| - @mass_builds.each do |mass_build|
%tr %tr
%td= mass_build.id
%td= link_to mass_build.name, build_lists_path(:filter => {:mass_build_id => mass_build.id}) %td= link_to mass_build.name, build_lists_path(:filter => {:mass_build_id => mass_build.id})
%td= mass_build.arch_names %td= mass_build.arch_names
%td= link_to mass_build.user.fullname, mass_build.user %td= link_to mass_build.user.fullname, mass_build.user

View File

@ -7,6 +7,7 @@ en:
mass_build: Mass Build mass_build: Mass Build
attributes: attributes:
mass_build: mass_build:
id: Id
name: Name name: Name
created_at: Created created_at: Created
updated_at: Updated updated_at: Updated

View File

@ -7,6 +7,7 @@ ru:
mass_build: Массовая Сборка mass_build: Массовая Сборка
attributes: attributes:
mass_build: mass_build:
id: Id
name: Название name: Название
created_at: Создан created_at: Создан
updated_at: Обновлен updated_at: Обновлен