diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index eb41e2cce..f95c168f3 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -8,7 +8,7 @@ module NotificationsHelper when 'new_request' translation when 'comment_on_post' - link_to translation, object_path(Comment.first(:id => object_id).post) + link_to translation, object_path(Comment.first(:id => note.object_id).post) else end end diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 0d8cbbce2..625fe3f58 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -92,6 +92,7 @@ %li= link_to 'github', "https://github.com/diaspora/diaspora" %li= link_to t('layouts.header.blog'), "http://blog.joindiaspora.com" %li= link_to t('layouts.header.code'), "#{root_url}source.tar.gz" + %li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog' -if !@landing_page && request.url.match(/joindiaspora.com/) :javascript diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 553da1bef..6bf7ff40b 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -83,6 +83,7 @@ en: code: "code" application: powered_by: "POWERED BY DIASPORA*" + whats_new: "what's new?" shared: publisher: posting: "Posting..."