Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* show language text on image.

  • Loading branch information...
commit 0d98b3c813c70b3613bfac0a58ceaaaffa6b2c72 1 parent 121fa0f
@kou authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.