Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource index revision #1

Merged
merged 16 commits into from
Aug 22, 2014
Prev Previous commit
Next Next commit
lastUpdateDate -> updated
  • Loading branch information
palexander committed Aug 7, 2014
commit 9a47275926cf27838d53b4336b35bc7214e73371
2 changes: 1 addition & 1 deletion app/views/resource_index/_resources_info.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
%td{:style => "width: 20%;"}
%a{:href => resource['resourceURL'], :target => "_blank", :id => "resource_link_#{resource['acronym']}"} #{resource['resourceName']}
%td= truncate_with_more(resource['description'], :length => 100)
%td= DateTime.parse(resource['lastUpdateDate']).strftime("%Y-%m-%d") rescue ""
%td{:style => "text-align: right;"}= number_with_delimiter(resource['count'], :delimiter => ",")
%td= DateTime.parse(resource['updated']).strftime("%Y-%m-%d") rescue ""

:javascript
jQuery("#resources_desc").dataTable({
Expand Down