Display the right title for friends' changesets

This commit is contained in:
Tom Hughes 2011-12-16 08:29:19 +00:00
parent 9545ca4ff3
commit 99d901c2ec

View file

@ -291,7 +291,7 @@ class ChangesetController < ApplicationController
user_link = render_to_string :partial => "user", :object => user user_link = render_to_string :partial => "user", :object => user
end end
if params[:friends] and user if params[:friends] and @user
@title = t 'changeset.list.title_friend' @title = t 'changeset.list.title_friend'
@heading = t 'changeset.list.heading_friend' @heading = t 'changeset.list.heading_friend'
@description = t 'changeset.list.description_friend' @description = t 'changeset.list.description_friend'