% if @histories.count > 0 %>
<%= t('status') %> | <% if !current_user.nil? %><%= t('ask.modified_by') %> | <%= t('ask.remark') %> | <%= t('ask.attachment') %> | <% end %><%= t('ask.updated_at') %> |
---|---|---|---|---|
<%= @status_mapping[ask_status_history.status] %> | <% if !current_user.nil? %><%= ask_status_history.modified_by_name %> | <%= ask_status_history.comment %> | <%= link_to(ask_status_history[:file], "/#{I18n.locale}/admin/asks/#{ask_status_history.id.to_s}/download") if ask_status_history.file.present? %> | <% end %><%= ask_status_history.created_at.strftime("%Y-%m-%d %H:%M:%S") %> |
<%= t('no_history_records') %>