<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{property.name}") %> | <% if property.output_control == :link %> <%= link_to_property property, data[:entry] %> <% elsif property.output_control == :image %> <%= image_tag print_property(data[:entry], :url) %> <% else %> <%= print_property(data[:entry], property.text_value_property || property.name) %> <% end %> |
<% end %> <% if @settings_manager.get('common_show_numbers') == true %> | # | <% end %> <% if @settings_manager.get('common_show_ids') == true %><%= I18n.t("activerecord.attributes.#{data[:"list_entries_#{list.name}"].to_i18n}.id") %> | <% end %> <% list.properties.each_pair do |key, property| %><%= property.label ? property.i18n_data_as_string(:label) : I18n.t("activerecord.attributes.#{data[:"list_entries_#{list.name}"].to_i18n}.#{property.name}") %> | <% end %>|
---|---|---|---|---|
<% end %> <% if @settings_manager.get('common_show_numbers') == true %> | <%= print_property(item, :row_number) %> | <% end %> <% if @settings_manager.get('common_show_ids') == true %><%= print_property(item, :id) %> | <% end %> <% list.properties.each_pair do |key, property| %><%= print_property(item, property.text_value_property || property.name) %> | <% end %>
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.id") %> | <%= print_property(data[:entry], :id) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.uin") %> | <%= print_property(data[:entry], :uin) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.created_by") %> | <%= print_property(data[:entry], :creator_name) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.created_at") %> | <%= print_property(data[:entry], :created_at) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.updated_by") %> | <%= print_property(data[:entry], :updater_name) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.updated_at") %> | <%= print_property(data[:entry], :updated_at) %> |
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.deletion_status_id") %> | <%= print_property(data[:entry], :deletion_status_name) %> |