Add support for viewing a list of your friends' changesets

This commit is contained in:
Mikel Maron 2011-12-14 21:43:38 -05:00 committed by Tom Hughes
parent 2b04242462
commit ce829bcc7c
4 changed files with 32 additions and 1 deletions

View file

@ -307,16 +307,19 @@ en:
title_user: "Changesets by %{user}"
title_bbox: "Changesets within %{bbox}"
title_user_bbox: "Changesets by %{user} within %{bbox}"
title_friend: "Changesets by your friends"
heading: "Changesets"
heading_user: "Changesets"
heading_bbox: "Changesets"
heading_user_bbox: "Changesets"
heading_friend: "Changesets"
description: "Recent changes"
description_user: "Changesets by %{user}"
description_bbox: "Changesets within %{bbox}"
description_user_bbox: "Changesets by %{user} within %{bbox}"
description_friend: "Changesets by your friends"
timeout:
sorry: "Sorry, the list of changesets you requested took too long to retrieve."
diary_entry:
@ -1692,6 +1695,7 @@ en:
unhide_user: "unhide this user"
delete_user: "delete this user"
confirm: "Confirm"
friends_changesets: "Browse all changesets by friends"
popup:
your location: "Your location"
nearby mapper: "Nearby mapper"

View file

@ -86,6 +86,7 @@ OpenStreetMap::Application.routes.draw do
match '/browse/changeset/:id' => 'browse#changeset', :as => :changeset, :id => /\d+/
match '/user/:display_name/edits' => 'changeset#list'
match '/user/:display_name/edits/feed' => 'changeset#feed', :format => :atom
match '/browse/friends' => 'changeset#list', :friends => true
match '/browse/changesets' => 'changeset#list'
match '/browse/changesets/feed' => 'changeset#feed', :format => :atom
match '/browse' => 'changeset#list'