Permalink
Browse files

add links to translation status

  • Loading branch information...
1 parent b9c67cd commit c24128e4fd741a1c716cd98263b1cfe30f1b3fec @znz znz committed Oct 15, 2013
Showing with 10 additions and 1 deletion.
  1. +7 −1 _plugins/translation_status.rb
  2. +3 −0 admin/translation-status/index.html
@@ -54,7 +54,13 @@ def short_name
end
def row_data(langs)
- [short_name] + langs.map{|lang| translations.include?(lang) ? OK_CHAR : MISSING_CHAR }
+ [short_name] + langs.map{|lang|
+ if translations.include?(lang)
+ %Q(<a href="/#{lang}/news/#{name}">#{OK_CHAR}</a>)
+ else
+ MISSING_CHAR
+ end
+ }
end
end
@@ -20,6 +20,9 @@
text-align: left;
width: auto;
}
+ a {
+ text-decoration: none;
+ }
</style>
</head>
<body>

0 comments on commit c24128e

Please sign in to comment.