Add check whether problem has a translation

This commit is contained in:
pfischbeck committed 2014-12-29 20:28:33 +01:00
1 parent cbf17cfce0
commit 4c16813c92
8 files changed
+41 -5

No files matched your search

+8 -1
View File
@@ -13,7 +13,14 @@
<% @problems.each do |problem| %>
<tr>
<td><%= problem.id %></td>
<td><%= link_to problem.title, problem %></td>
<td>
<% if problem.is_translated? %>
<%= link_to problem.title, problem %>
<% else %>
<i>Dieses Problem wurde noch nicht übersetzt.</i>
<% end %>
</td>
</tr>
<% end %>
</tbody>
+1
View File
@@ -0,0 +1 @@
Dieses Problem wurde noch nicht übersetzt.