% provide(:title, Problem.model_name.human(count: 2)) %>
<%= t('problems.index.translated_count', translated: Problem.translated_count, total: Problem.count) %>
<%= progress_bar percentage: @translated_percentage, label: true, striped: true %> <%= render 'problem_pagination' %>| <%= Problem.human_attribute_name(:id) %> | <%= Problem.human_attribute_name(:title) %> |
|---|---|
| <%= problem.id %> | <% if problem.is_translated? %> <%= link_to problem.title, problem %> <% else %> <%= t 'problems.not_yet_translated' %> <%= link_to new_problem_translation_path(problem), class: 'btn btn-default btn-xs' do %> <%= icon :pencil %> <%= t '.suggest_translation' %> <% end %> <% end %> |