mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-10-04 01:20:43 -04:00
better display flags
This commit is contained in:
1 parent
795906b4f5
commit
cca822c570
3 files changed
+16
-6
No files matched your search
@@ -18,17 +18,17 @@
|
||||
<p>
|
||||
<strong>Taxable:</strong>
|
||||
<% if @item.taxable %>
|
||||
<span class="icon icon-ok" style="color: green;">Yes</span>
|
||||
<span class="icon icon-ok" style="color: green;"><%=t(:yes)%></span>
|
||||
<% else %>
|
||||
<span class="icon icon-not-ok" style="color: #999;">No</span>
|
||||
<span class="icon icon-not-ok" style="color: #999;"><%=t(:no)%></span>
|
||||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Active:</strong>
|
||||
<% if @item.active %>
|
||||
<span class="icon icon-ok" style="color: green;">Yes</span>
|
||||
<span class="icon icon-ok" style="color: green;"><%=t(:yes)%></span>
|
||||
<% else %>
|
||||
<span class="icon icon-not-ok" style="color: #999;">No</span>
|
||||
<span class="icon icon-not-ok" style="color: #999;"><%=t(:no)%></span>
|
||||
<% end %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user