Skip to content

Commit

Permalink
Fixes 517 - makes zip code on results search term
Browse files Browse the repository at this point in the history
- Fixes #517 - Makes zip code clickable for a location search on the
search results and details views, aligning the behavior to the how the
organization link works on the search results and details views.
- Adds tests for searching by click on zip code on search results and
details views.
- Adds test for organization link on details view.
  • Loading branch information
anselmbradford committed Sep 11, 2014
1 parent c5d0e6d commit fae68ac
Show file tree
Hide file tree
Showing 10 changed files with 998 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/component/detail/_address.html.haml
Expand Up @@ -16,4 +16,4 @@
= location.address.state

%span.zipcode{ itemprop: 'postalCode' }
= location.address.zip
= link_to location.address.zip, locations_path(location: location.address.zip)
2 changes: 1 addition & 1 deletion app/views/component/detail/_mail_address.html.haml
Expand Up @@ -17,4 +17,4 @@
= location.mail_address.state

%span.zipcode{ itemprop: 'postalCode' }
= location.mail_address.zip
= link_to location.mail_address.zip, locations_path(location: location.mail_address.zip)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fae68ac

Please sign in to comment.