diff --git a/assets/js/lib/tagsinput.js b/assets/js/lib/tagsinput.js index 1c063255..71a9015c 100644 --- a/assets/js/lib/tagsinput.js +++ b/assets/js/lib/tagsinput.js @@ -8,7 +8,7 @@ var defaultOptions = { tagClass: function(item) { - return 'badge badge-info'; + return 'badge bg-info'; }, focusClass: 'focus', itemValue: function(item) { diff --git a/templates/AdminPages/_attachments.html.twig b/templates/AdminPages/_attachments.html.twig index 6e1984b2..95ab8a10 100644 --- a/templates/AdminPages/_attachments.html.twig +++ b/templates/AdminPages/_attachments.html.twig @@ -26,18 +26,18 @@ {% if not attach.external %}

- + {{ attach.filename }}
- + {{ attachment_manager.humanFileSize(attach) }}
{% else %}

- + {% trans %}attachment.external{% endtrans %}
@@ -54,7 +54,7 @@ {% else %}

- + {% trans %}attachment.file_not_found{% endtrans %}
@@ -62,7 +62,7 @@ {% if attach.secure %}
- + {% trans %}attachment.secure{% endtrans %}
diff --git a/templates/Parts/edit/_attachments.html.twig b/templates/Parts/edit/_attachments.html.twig index e2987635..5c7588c2 100644 --- a/templates/Parts/edit/_attachments.html.twig +++ b/templates/Parts/edit/_attachments.html.twig @@ -23,18 +23,18 @@ {% if not attach.external %}

- + {{ attach.filename }}
- + {{ attachment_manager.humanFileSize(attach) }}
{% else %}

- + {% trans %}attachment.external{% endtrans %}
@@ -52,7 +52,7 @@ {% else %}

- + {% trans %}attachment.file_not_found{% endtrans %}
@@ -60,7 +60,7 @@ {% if attach.secure %}
- + {% trans %}attachment.secure{% endtrans %}
diff --git a/templates/Parts/info/_attachments_info.html.twig b/templates/Parts/info/_attachments_info.html.twig index 7a998375..5f1dcc6e 100644 --- a/templates/Parts/info/_attachments_info.html.twig +++ b/templates/Parts/info/_attachments_info.html.twig @@ -31,26 +31,26 @@ {% if attachment.external %} - + {% trans %}attachment.external{% endtrans %} {% elseif attachment_manager.fileExisting(attachment) %} - + {{ attachment_manager.humanFileSize(attachment) }} {% else %} - + {% trans %}attachment.file_not_found{% endtrans %} {% endif %} {% if attachment.secure %} -
+
{% trans %}attachment.secure{% endtrans %} {% endif %} {% if attachment == part.masterPictureAttachment %}
- + {% trans %}attachment.preview{% endtrans %} {% endif %} diff --git a/templates/Parts/info/_part_lots.html.twig b/templates/Parts/info/_part_lots.html.twig index c57c69f8..48a455ee 100644 --- a/templates/Parts/info/_part_lots.html.twig +++ b/templates/Parts/info/_part_lots.html.twig @@ -20,14 +20,14 @@ {% if lot.storageLocation %} {{ helper.structural_entity_link(lot.storageLocation) }} {% else %} - + {% trans %}part_lots.location_unknown{% endtrans %} {% endif %} {% if lot.instockUnknown %} - + {% trans %}part_lots.instock_unknown{% endtrans %} {% else %} @@ -37,20 +37,20 @@
{% if lot.expirationDate %} - + {{ lot.expirationDate | format_date() }} {% endif %} {% if lot.expired %}
- + {% trans %}part_lots.is_expired{% endtrans %} {% endif %} {% if lot.needsRefill %}
- + {% trans %}part_lots.need_refill{% endtrans %} diff --git a/templates/Parts/info/_sidebar.html.twig b/templates/Parts/info/_sidebar.html.twig index f6272fa1..2f4d61bc 100644 --- a/templates/Parts/info/_sidebar.html.twig +++ b/templates/Parts/info/_sidebar.html.twig @@ -18,7 +18,7 @@ {% if part.mass %}
- {{ part.mass | siFormat("g") }} + {{ part.mass | siFormat("g") }}
{% endif %} @@ -27,7 +27,7 @@ {% if part.needsReview %}
- {% trans %}part.needs_review.badge{% endtrans %} + {% trans %}part.needs_review.badge{% endtrans %}
{% endif %} @@ -36,7 +36,7 @@ {% if part.favorite %}
- {% trans %}part.favorite.badge{% endtrans %} + {% trans %}part.favorite.badge{% endtrans %}
{% endif %} @@ -44,7 +44,7 @@ {% if part.obsolete %}
- {% trans %}part.obsolete.badge{% endtrans %} + {% trans %}part.obsolete.badge{% endtrans %}
{% endif %} diff --git a/templates/Parts/info/show_part_info.html.twig b/templates/Parts/info/show_part_info.html.twig index 6d647a11..57131725 100644 --- a/templates/Parts/info/show_part_info.html.twig +++ b/templates/Parts/info/show_part_info.html.twig @@ -45,7 +45,7 @@ href="#part_lots" role="tab"> {% trans %}part.part_lots.label{% endtrans %} - {{ part.partLots | length }} + {{ part.partLots | length }} {% if part.comment is not empty %} @@ -62,7 +62,7 @@ {% trans %}part.info.specifications{% endtrans %} - {{ part.parameters | length }} + {{ part.parameters | length }} {% endif %} @@ -72,7 +72,7 @@ href="#attachments" role="tab"> {% trans %}attachment.labelp{% endtrans %} - {{ part.attachments | length }} + {{ part.attachments | length }} {% endif %} @@ -81,7 +81,7 @@ {% trans %}vendor.partinfo.shopping_infos{% endtrans %} - {{ part.orderdetails | length }} + {{ part.orderdetails | length }} {% endif %} diff --git a/templates/Parts/lists/_parts_list.html.twig b/templates/Parts/lists/_parts_list.html.twig index 7bafa405..e938c0a8 100644 --- a/templates/Parts/lists/_parts_list.html.twig +++ b/templates/Parts/lists/_parts_list.html.twig @@ -7,7 +7,7 @@
{# #} - {% trans with {'%count%': ''} %}part_list.action.part_count{% endtrans %} + {% trans with {'%count%': ''} %}part_list.action.part_count{% endtrans %}