Merge pull request #15 from finnlabs/bug-4181-link-to-readme-on-rows-text-area

Bug 4181 link to readme on rows text area
pull/6827/head
ulferts 11 years ago
commit ff00ebfc79
  1. 4
      app/views/export_card_configurations/_form.html.erb
  2. 8
      app/views/export_card_configurations/_rows_format_help.html.erb
  3. 1
      config/locales/de.yml
  4. 1
      config/locales/en.yml

@ -33,7 +33,9 @@ See doc/COPYRIGHT.md for more details.
<p><%= f.text_field :per_page, :required => true %></p>
<p><%= f.text_field :page_size, :required => true, :value => "A4", :readonly => true %></p>
<P><%= f.select :orientation, [:landscape, :portrait], :required => true %></p>
<p><%= f.text_area :rows, :required => true, :class => "wiki-edit" %></p>
<% field = (f.text_area :rows, :required => true, :class => "wiki-edit") %>
<%= render partial: "rows_format_help", locals: { field: field } %>
<!--[eoform:export_card_configuration]-->
</div>

@ -0,0 +1,8 @@
<p class="jstElements">
<span class="help">
<a href="https://github.com/finnlabs/openproject-pdf_export#usage" class="icon icon-help" onclick="window.open('https://github.com/finnlabs/openproject-pdf_export#usage', '', 'resizable=yes, location=no, width=850, height=800, menubar=no, status=no, scrollbars=yes'); return false;">
<%= l('help_link_rows_format') %>
</a>
</span>
<%= field %>
</p>

@ -38,3 +38,4 @@ de:
notice_export_card_configuration_deactivated: "Export-Kartenkonfiguration erfolgreich de-aktiviert"
error_can_not_activate_export_card_configuration: "Diese Konfiguration kann nicht aktiviert werden"
error_can_not_deactivate_export_card_configuration: "Diese Konfiguration kann nicht de-aktiviert werden"
help_link_rows_format: "Rows formatieren"

@ -38,3 +38,4 @@ en:
notice_export_card_configuration_deactivated: "Config succesfully de-activated"
error_can_not_activate_export_card_configuration: "This config cannot be activated"
error_can_not_deactivate_export_card_configuration: "This config cannot be de-activated"
help_link_rows_format: "Rows Formatting"
Loading…
Cancel
Save