Commit f3f17e1c06612586539fe0fb9d5ebaecc34f5a8f
1 parent
9b7faea1
Exists in
master
and in
28 other branches
Removing "on" from profile search options
(ActionItem1734)
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/views/shared/_profile_search_form.rhtml
| @@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
| 5 | </span> | 5 | </span> |
| 6 | <%= submit_button(:search, _('Search')) %> | 6 | <%= submit_button(:search, _('Search')) %> |
| 7 | <div> | 7 | <div> |
| 8 | - <%= labelled_radio_button __('on profile'), 'where', 'profile', true %> | ||
| 9 | - <%= labelled_radio_button _('on %s') % environment.name, 'where', 'environment', false %> | 8 | + <%= labelled_radio_button __('Profile'), 'where', 'profile', true %> |
| 9 | + <%= labelled_radio_button environment.name, 'where', 'environment', false %> | ||
| 10 | </div> | 10 | </div> |
| 11 | </div> | 11 | </div> |
| 12 | <% end %> | 12 | <% end %> |
features/profile_search.feature
| @@ -53,7 +53,7 @@ Feature: search inside a profile | @@ -53,7 +53,7 @@ Feature: search inside a profile | ||
| 53 | Scenario: search on environment | 53 | Scenario: search on environment |
| 54 | Given I go to Joao Silva's profile | 54 | Given I go to Joao Silva's profile |
| 55 | And I fill in "q" with "bees" | 55 | And I fill in "q" with "bees" |
| 56 | - And I choose "on Colivre.net" | 56 | + And I choose "Colivre.net" |
| 57 | And I press "Search" | 57 | And I press "Search" |
| 58 | Then I should be on the search page | 58 | Then I should be on the search page |
| 59 | And I should see "bees and butterflies" within "#search-page" | 59 | And I should see "bees and butterflies" within "#search-page" |