<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
" helpUrl="<%=help_link(HELP_URL_CONFIG['product_info']['my_files'])%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" baseParameters="{ tag: '<%= params[:tag] %>' }" authenticity_token="<%= form_authenticity_token %>" autoExpandColumn="userFileGridName" customDelete: true deletePath="<%= user_file_path(-1) %>" dataColumns="[ { name: 'id'}, { name: 'file_name'}, { name: 'status'}, { name: 'stored_location'}, { name: 'copied_server_time_utc'}, { name: 'file_size'}, { name: 'file_type'}, ]" editPath='<%= user_file_path(-1, :download => true) %>' editInPopup="false" gridColumns="[ {dataIndex: 'copied_server_time_utc', header: '<%=t "common.copied_to_server_time" %>', id: 'userFileGridCopiedToServerTime', locked: false, sortable: true, width: 100, filter: true, filterType: 'date'}, {dataIndex: 'file_name', header: '<%= t "user_files.file_name" %>', id: 'userFileGridName',locked: false, sortable: true, width: 200, filter: true, filterType: 'string'}, {dataIndex: 'status', header: '<%=t "common.status" %>', id: 'userFileGridStatus', locked: false, sortable: true, width: 50, filter: true, filterType: 'list', filterList: <%= UserFile.STATUS_VALUES_TEXT %>}, {dataIndex: 'file_size', header: '<%=t "common.file_size" %>', id: 'userFileGridFileSize', locked: false, sortable: true, width: 50, filter: true, filterType: 'numeric'} ]" includeDelete="true" includeEdit="true" itemType='<%= t('user_files.file_type') %>' menuCfg="{items: [{ iconCls: 'icon_download', text: '<%=t ".view_file"%>', actsOn: 'one', actionUrl: '<%= user_file_path(-1, :download => true) %>' }, { iconCls: 'icon_delete', text: '<%=t ".delete_file"%>', actsOn: 'many', method: 'DELETE', actionUrl: '<%= user_file_path(-1) %>', ajaxRequest: true, customAction: true, actionId: 'delete_file', confirmText: '<%=t ".delete_confirmation"%>' }]}" sortField="{field: 'copied_server_time_utc', direction: 'DESC'}" url="<%= user_files_path(:format => 'json', :user_id => @user.id) %>" style="height:100%;">