Skip to content

Commit

Permalink
- minor bugfix to correct links to search results
Browse files Browse the repository at this point in the history
Signed-off-by: sashaagafonoff <sasha.agafonoff@gmail.com>
  • Loading branch information
sashaagafonoff committed Jan 13, 2010
1 parent 769ded7 commit 64a9a2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/search/index.html.haml
Expand Up @@ -28,7 +28,7 @@
%td
= person.date_of_birth
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :controller => "person", :action => "show", :id => person
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/people/" + person.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_person_path(person)
%td
Expand All @@ -40,7 +40,7 @@
%td
= person.date_of_birth
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :controller => "person", :action => "show", :id => person
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/people/" + person.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_person_path(person)
%td
Expand All @@ -63,7 +63,7 @@
%td
= organisation.sector
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :controller => "organisation", :action => "show", :id => organisation
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/organisations/" + organisation.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_organisation_path(organisation)
%td
Expand Down Expand Up @@ -96,7 +96,7 @@
%td
= location.country
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :action => "show", :id => location
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/locations/" + location.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_location_path(location)
%td
Expand All @@ -123,7 +123,7 @@
%td
= event.start_date
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :action => "show", :id => event
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/events/" + event.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_event_path(event)
%td
Expand All @@ -146,7 +146,7 @@
%td
= reference.ref_value
%td
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), :controller => "reference", :action => "show", :id => reference
= link_to image_tag("/images/icons/show_XS_f2.png",:alt=>"Show",:class=>"notice_icon",:height=>"25",:width=>"29"), "/references/" + reference.neo_node_id.to_s
%td
= link_to image_tag("/images/icons/edit_XS_f2.png",:alt=>"Edit",:class=>"notice_icon",:height=>"25",:width=>"31"), edit_reference_path(reference)
%td
Expand Down

0 comments on commit 64a9a2d

Please sign in to comment.