1
0

Added measurement index view

Changed locales names from heading_ to link_ where appropriate
This commit is contained in:
cryptogopher
2019-11-16 14:44:45 +01:00
parent b7b0f7634e
commit eb379c7835
8 changed files with 124 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
<% if User.current.allowed_to?(:manage_common, @project) %>
<%= link_to t(".heading_import_ingredients"), '#', :class => 'icon icon-multiple',
<%= link_to t(".link_import_ingredients"), '#', :class => 'icon icon-multiple',
:onclick => '$("#import-ingredients").show(); $("#filename").focus(); return false;' %>
<%= link_to t(".heading_new_ingredient"), '#', :class => 'icon icon-add',
<%= link_to t(".link_new_ingredient"), '#', :class => 'icon icon-add',
:onclick => '$("#add-ingredient").show(); $("#ingredient_name").focus(); return false;' %>
<% end %>