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
resourceURL -> homepage
  • Loading branch information
palexander committed Aug 7, 2014
commit 8319c8500238816a74c18968f7333e254f355fe2
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 @@ -10,7 +10,7 @@
-@resources.each do |resource|
%tr
%td{:style => "width: 20%;"}
%a{:href => resource['resourceURL'], :target => "_blank", :id => "resource_link_#{resource['acronym']}"} #{resource['resourceName']}
%a{:href => resource['homepage'], :target => "_blank", :id => "resource_link_#{resource['acronym']}"} #{resource['resourceName']}
%td= truncate_with_more(resource['description'], :length => 100)
%td{:style => "text-align: right;"}= number_with_delimiter(resource['count'], :delimiter => ",")
%td= DateTime.parse(resource['updated']).strftime("%Y-%m-%d") rescue ""
Expand Down