Permalink
Browse files

* show language text on image.

  • Loading branch information...
1 parent 121fa0f commit 0d98b3c813c70b3613bfac0a58ceaaaffa6b2c72 @kou committed Mar 15, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/helpers/contents_helper.rb
View
2 app/helpers/contents_helper.rb
@@ -50,6 +50,8 @@ def content_toolbar_data(current_content)
page.sorted_contents.collect do |content|
data = {
"iconCls" => "language-icon-#{content.language}",
+ "tooltip" => t(content.language),
+ "tooltipType" => "title",
}
if current_content == content
data["disabled"] = true

0 comments on commit 0d98b3c

Please sign in to comment.