]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changesets_helper.rb
Merge branch 'pull/3035'
[rails.git] / app / helpers / changesets_helper.rb
index 97a70f7898b9f4f1d1f5d26c8ae5c41b3dc9f737..b91810e95c58bd87cd6665d61f5de43a386b3f35 100644 (file)
@@ -17,7 +17,7 @@ module ChangesetsHelper
     else
       action = :closed
       time = time_ago_in_words(changeset.closed_at, :scope => :'datetime.distance_in_words_ago')
-      title = "#{t('browse.created')}: #{l(changeset.created_at)}
#{t('browse.closed')}: #{l(changeset.closed_at)}".html_safe
+      title = safe_join([t("browse.created"), ": ", l(changeset.created_at), "
".html_safe, t("browse.closed"), ": ", l(changeset.closed_at)])
     end
 
     if params.key?(:display_name)