mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Added English strings for Rails i18n
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
<% @issue.line_items.build if @issue.line_items.empty? && !readonly %>
|
||||
|
||||
<div class="box tabular" <%= 'data-nested-form data-wrapper-selector=".line-item"' unless readonly %>>
|
||||
<p><strong>Line Items</strong></p>
|
||||
<p><strong><%= t :label_line_items %></strong></p>
|
||||
|
||||
<table class="list line-items-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<th style="width:120px;">Quantity</th>
|
||||
<th style="width:150px;">Unit Price</th>
|
||||
<th><%= t :label_description %></th>
|
||||
<th style="width:120px;"><%= t :label_qty %></th>
|
||||
<th style="width:150px;"><%= t :label_price %></th>
|
||||
<% unless readonly %>
|
||||
<th style="width:80px;"></th>
|
||||
<% end %>
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<% if @issue.line_items.any? %>
|
||||
<hr/>
|
||||
<div>
|
||||
<p><strong>Line Items</strong></p>
|
||||
<p><strong><%= t :label_line_items %></strong></p>
|
||||
|
||||
<table class="list line-items-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<th style="width:120px;">Quantity</th>
|
||||
<th style="width:150px;">Unit Price</th>
|
||||
<th style="width:150px;">Total</th>
|
||||
<th><%= t :label_description %></th>
|
||||
<th style="width:120px;"><%= t :label_qty %></th>
|
||||
<th style="width:150px;"><%= t :label_price %></th>
|
||||
<th style="width:150px;"><%= t :label_total %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3" style="text-align:right;"><strong>Total</strong></td>
|
||||
<td colspan="3" style="text-align:right;"><strong><%= t :label_total %></strong></td>
|
||||
<td><strong><%= number_to_currency(total) %></strong></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<td>
|
||||
<%= f.text_field :description,
|
||||
size: 50,
|
||||
placeholder: "Description",
|
||||
placeholder: l(:label_description),
|
||||
no_label: true,
|
||||
disabled: readonly %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user