1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Add links for problem translation and improvement

This commit is contained in:
2014-12-30 19:50:35 +01:00
parent d20b3e0fef
commit d2f1292724
2 changed files with 7 additions and 2 deletions

View File

@@ -17,7 +17,10 @@
<% if problem.is_translated? %>
<%= link_to problem.title, problem %>
<% else %>
<i>Dieses Problem wurde noch nicht übersetzt.</i>
<i>Dieses Problem wurde noch nicht übersetzt.</i>
<%= link_to new_problem_translation_path(problem), class: 'btn btn-default btn-xs' do %>
<%= icon :pencil %> Übersetzung vorschlagen
<% end %>
<% end %>
</td>