diff --git a/app/helpers/admin/base_helper.rb b/app/helpers/admin/base_helper.rb
index 49f9217720..0862d2c224 100644
--- a/app/helpers/admin/base_helper.rb
+++ b/app/helpers/admin/base_helper.rb
@@ -164,9 +164,10 @@ def set_autosave_tag(article)
@article.inspect
hidden_field_tag("article[id]", @article.id) unless @article.id.nil?
end
-
- def twitter_disabled_message(disabled)
- return unless disabled
- content_tag(:p, _("If you want to push short statuses on Twitter, you need to %s Twitter gave you after you %s.", link_to(_("fill in the oauth credentials"), :controller => 'admin/settings', :action => 'write'), link_to(_("registered your application"), "https://dev.twitter.com/apps/new")).html_safe, :class => 'alert alert-warning')
+
+ def twitter_disabled_message
+ unless this_blog.has_twitter_configured? && current_user.has_twitter_configured?
+ content_tag(:p, _("If you want to push short statuses on Twitter, you need to %s Twitter gave you after you %s.", link_to(_("fill in the oauth credentials"), :controller => 'admin/settings', action: 'write'), link_to(_("registered your application"), "https://dev.twitter.com/apps/new")).html_safe, class: 'alert alert-warning')
+ end
end
end
diff --git a/app/views/admin/notes/new.html.erb b/app/views/admin/notes/new.html.erb
index 745aa026b3..fb5bb930ba 100644
--- a/app/views/admin/notes/new.html.erb
+++ b/app/views/admin/notes/new.html.erb
@@ -11,8 +11,7 @@