replace bold tags

This commit is contained in:
Matthias 2021-09-02 00:17:12 +02:00
parent edb1602c7c
commit 6a420fd95c
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
30 changed files with 42 additions and 42 deletions

View File

@ -6,7 +6,7 @@
{{ block.super }}
<div class='alert alert-block alert-info'>
<b>{% trans "Automatically Allocate Stock" %}</b><br>
<strong>{% trans "Automatically Allocate Stock" %}</strong><br>
{% trans "The following stock items will be allocated to the specified build output" %}
</div>
{% if allocations %}

View File

@ -9,7 +9,7 @@
</div>
{% else %}
<div class='alert alert-block alert-danger'>
<b>{% trans "Build Order is incomplete" %}</b><br>
<strong>{% trans "Build Order is incomplete" %}</strong><br>
<ul>
{% if build.incomplete_count > 0 %}
<li>{% trans "Incompleted build outputs remain" %}</li>

View File

@ -222,7 +222,7 @@
</div>
{% else %}
<div class='alert alert-block alert-info'>
<b>{% trans "Create a new build output" %}</b><br>
<strong>{% trans "Create a new build output" %}</strong><br>
{% trans "No incomplete build outputs remain." %}<br>
{% trans "Create a new build output using the button above" %}
</div>

View File

@ -6,7 +6,7 @@
{{ block.super }}
<!--
<p>
<b>{{ name }}</b><br>
<strong>{{ name }}</strong><br>
{{ description }}<br>
<i>{% trans "Current value" %}: {{ value }}</i>
</p>

View File

@ -57,7 +57,7 @@
{% for duplicate in duplicates %}
{% if duplicate == col.value %}
<div class='alert alert-danger alert-block text-center' role='alert' style='padding:2px; margin-top:6px; margin-bottom:2px'>
<b>{% trans "Duplicate selection" %}</b>
<strong>{% trans "Duplicate selection" %}</strong>
</div>
{% endif %}
{% endfor %}

View File

@ -5,7 +5,7 @@
{% block form %}
{% blocktrans with desc=order.description %}Receive outstanding parts for <b>{{order}}</b> - <i>{{desc}}</i>{% endblocktrans %}
{% blocktrans with desc=order.description %}Receive outstanding parts for <strong>{{order}}</strong> - <i>{{desc}}</i>{% endblocktrans %}
<form method='post' action='' class='js-modal-form' enctype='multipart/form-data'>
{% csrf_token %}

View File

@ -22,7 +22,7 @@
{% endif %}
<div class='alert alert-block alert-info'>
<b>{% trans "Sales Order" %} {{ order.reference }} - {{ order.customer.name }}</b>
<strong>{% trans "Sales Order" %} {{ order.reference }} - {{ order.customer.name }}</strong>
<br>
{% trans "Shipping this order means that the order will no longer be editable." %}
</div>

View File

@ -6,9 +6,9 @@
<div class='alert alert-block alert-warning'>
{% trans "This action will unallocate the following stock from the Sales Order" %}:
<br>
<b>
<strong>
{% decimal allocation.get_allocated %} x {{ allocation.line.part.full_name }}
{% if allocation.item.location %} ({{ allocation.get_location }}){% endif %}
</b>
</strong>
</div>
{% endblock %}

View File

@ -17,7 +17,7 @@
</div>
{% else %}
<div class='alert alert-danger alert-block'>
<b>{% blocktrans with part=part.full_name %}The BOM for <i>{{ part }}</i> has not been validated.{% endblocktrans %}</b>
<strong>{% blocktrans with part=part.full_name %}The BOM for <i>{{ part }}</i> has not been validated.{% endblocktrans %}</strong>
</div>
{% endif %}

View File

@ -9,7 +9,7 @@
{% if part.has_bom %}
<div class='alert alert-block alert-danger'>
<b>{% trans "Warning" %}</b><br>
<strong>{% trans "Warning" %}</strong><br>
{% trans "This part already has a Bill of Materials" %}<br>
</div>
{% endif %}

View File

@ -57,7 +57,7 @@
{% for duplicate in duplicates %}
{% if duplicate == col.value %}
<div class='alert alert-danger alert-block text-center' role='alert' style='padding:2px; margin-top:6px; margin-bottom:2px'>
<b>{% trans "Duplicate selection" %}</b>
<strong>{% trans "Duplicate selection" %}</strong>
</div>
{% endif %}
{% endfor %}

View File

@ -43,9 +43,9 @@
{% block form_alert %}
<div class='alert alert-info alert-block'>
<b>{% trans "Requirements for BOM upload" %}:</b>
<strong>{% trans "Requirements for BOM upload" %}:</strong>
<ul>
<li>{% trans "The BOM file must contain the required named columns as provided in the " %} <b><a href="/part/bom_template/">{% trans "BOM Upload Template" %}</a></b></li>
<li>{% trans "The BOM file must contain the required named columns as provided in the " %} <strong><a href="/part/bom_template/">{% trans "BOM Upload Template" %}</a></strong></li>
<li>{% trans "Each part must already exist in the database" %}</li>
</ul>
</div>

View File

@ -8,7 +8,7 @@
{% if matches %}
<div class='alert alert-block alert-warning'>
<b>{% trans "Possible Matching Parts" %}</b>
<strong>{% trans "Possible Matching Parts" %}</strong>
<p>{% trans "The new part may be a duplicate of these existing parts" %}:</p>
<ul class='list-group'>
{% for match in matches %}

View File

@ -50,7 +50,7 @@
{% for duplicate in duplicates %}
{% if duplicate == col.value %}
<div class='alert alert-danger alert-block text-center' role='alert' style='padding:2px; margin-top:6px; margin-bottom:2px'>
<b>{% trans "Duplicate selection" %}</b>
<strong>{% trans "Duplicate selection" %}</strong>
</div>
{% endif %}
{% endfor %}

View File

@ -57,7 +57,7 @@
{% for duplicate in duplicates %}
{% if duplicate == col.value %}
<div class='alert alert-danger alert-block text-center' role='alert' style='padding:2px; margin-top:6px; margin-bottom:2px'>
<b>{% trans "Duplicate selection" %}</b>
<strong>{% trans "Duplicate selection" %}</strong>
</div>
{% endif %}
{% endfor %}

View File

@ -4,7 +4,7 @@
{% block pre_form_content %}
<div class='alert alert-block alert-danger'>
{% blocktrans with full_name=part.full_name %}Are you sure you want to delete part '<b>{{full_name}}</b>'?{% endblocktrans %}
{% blocktrans with full_name=part.full_name %}Are you sure you want to delete part '<strong>{{full_name}}</strong>'?{% endblocktrans %}
</div>
{% if part.used_in_count %}

View File

@ -18,7 +18,7 @@
{% if part.supplier_count > 0 %}
{% if min_total_buy_price %}
<tr>
<td><b>{% trans 'Supplier Pricing' %}</b>
<td><strong>{% trans 'Supplier Pricing' %}</strong>
<a href="#supplier-cost" title='{% trans "Show supplier cost" %}'><span class="fas fa-search-dollar"></span></a>
<a href="#purchase-price" title='{% trans "Show purchase price" %}'><span class="fas fa-chart-bar"></span></a>
</td>
@ -46,7 +46,7 @@
{% if part.bom_count > 0 %}
{% if min_total_bom_price %}
<tr>
<td><b>{% trans 'BOM Pricing' %}</b>
<td><strong>{% trans 'BOM Pricing' %}</strong>
<a href="#bom-cost" title='{% trans "Show BOM cost" %}'><span class="fas fa-search-dollar"></span></a>
</td>
<td>{% trans 'Unit Cost' %}</td>
@ -99,7 +99,7 @@
{% if show_internal_price and roles.sales_order.view %}
{% if total_internal_part_price %}
<tr>
<td><b>{% trans 'Internal Price' %}</b></td>
<td><strong>{% trans 'Internal Price' %}</strong></td>
<td>{% trans 'Unit Cost' %}</td>
<td colspan='2'>{% include "price.html" with price=unit_internal_part_price %}</td>
</tr>
@ -113,7 +113,7 @@
{% if total_part_price %}
<tr>
<td><b>{% trans 'Sale Price' %}</b>
<td><strong>{% trans 'Sale Price' %}</strong>
<a href="#sale-cost" title='{% trans "Show sale cost" %}'><span class="fas fa-search-dollar"></span></a>
<a href="#sale-price" title='{% trans "Show sale price" %}'><span class="fas fa-chart-bar"></span></a>
</td>

View File

@ -6,7 +6,7 @@
{{ block.super }}
<div class='alert alert-info alert-block'>
<b>{% trans "Create new part variant" %}</b><br>
<strong>{% trans "Create new part variant" %}</strong><br>
{% blocktrans with full_name=part.full_name %}Create a new variant of template <i>'{{full_name}}'</i>.{% endblocktrans %}
</div>

View File

@ -182,7 +182,7 @@
{% if item.build %}
<a href="{% url 'build-detail' item.build.id %}">
<b>{{ item.build }}</b>
<strong>{{ item.build }}</strong>
</a>
{% endif %}

View File

@ -9,7 +9,7 @@
{% trans "Are you sure you want to delete this stock item?" %}
<br>
{% decimal item.quantity as qty %}
{% blocktrans with full_name=item.part.full_name %}This will remove <b>{{qty}}</b> units of <b>{{full_name}}</b> from stock.{% endblocktrans %}
{% blocktrans with full_name=item.part.full_name %}This will remove <strong>{{qty}}</strong> units of <strong>{{full_name}}</strong> from stock.{% endblocktrans %}
</div>
{% endblock %}

View File

@ -3,7 +3,7 @@
<div class="navigation">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li><a href='#' title='Toggle Stock Tree' id='toggle-stock-tree'><b><span class='fas fa-stream'></span></b></a></li>
<li><a href='#' title='Toggle Stock Tree' id='toggle-stock-tree'><strong><span class='fas fa-stream'></span></strong></a></li>
<li class="breadcrumb-item{% if location is None %} active" aria-current="page{% endif %}"><a href="/stock/">{% trans "Stock" %}</a></li>
{% if location %}
{% for path_item in location.parentpath %}

View File

@ -20,7 +20,7 @@ the top level 'Stock' location.
<ul class='list-group'>
{% for loc in location.children.all %}
<li class='list-group-item'><b>{{ loc.name }}</b> - <i>{{ loc.description}}</i></li>
<li class='list-group-item'><strong>{{ loc.name }}</strong> - <i>{{ loc.description}}</i></li>
{% endfor %}
</ul>
{% endif %}
@ -36,7 +36,7 @@ If this location is deleted, these items will be moved to the top level 'Stock'
<ul class='list-group'>
{% for item in location.stock_items.all %}
<li class='list-group-item'><b>{{ item.part.full_name }}</b> - <i>{{ item.part.description }}</i><span class='badge'>{% decimal item.quantity %}</span></li>
<li class='list-group-item'><strong>{{ item.part.full_name }}</strong> - <i>{{ item.part.description }}</i><span class='badge'>{% decimal item.quantity %}</span></li>
{% endfor %}
</ul>
{% endif %}

View File

@ -4,13 +4,13 @@
{% block pre_form_content %}
<div class='alert alert-block alert-info'>
<b>{% trans "Convert Stock Item" %}</b><br>
<strong>{% trans "Convert Stock Item" %}</strong><br>
{% blocktrans with part=item.part %}This stock item is current an instance of <i>{{part}}</i>{% endblocktrans %}<br>
{% trans "It can be converted to one of the part variants listed below." %}
</div>
<div class='alert alert-block alert-warning'>
<b>{% trans "Warning" %}</b>
<strong>{% trans "Warning" %}</strong>
{% trans "This action cannot be easily undone" %}
</div>

View File

@ -34,7 +34,7 @@
function addHeaderTitle(title) {
// Add a header block to the action list
$("#action-item-list").append(
`<li class='list-group-item'><b>${title}</b></li>`
`<li class='list-group-item'><strong>${title}</strong></li>`
);
}

View File

@ -47,7 +47,7 @@
function addItemTitle(title) {
// Add header block to the results list
$('#search-item-list').append(
`<li class='list-group-item'><b>${title}</b></li>`
`<li class='list-group-item'><strong>${title}</strong></li>`
);
}

View File

@ -9,7 +9,7 @@
</li>
<li class='list-group-item'>
<b>{% trans "User Settings" %}</b>
<strong>{% trans "User Settings" %}</strong>
</li>
<li class='list-group-item' title='{% trans "Account" %}'>
@ -53,7 +53,7 @@
{% if user.is_staff %}
<li class='list-group-item'>
<b>{% trans "InvenTree Settings" %}</b>
<strong>{% trans "InvenTree Settings" %}</strong>
</li>
<li class='list-group-item' title='{% trans "Server" %}'>

View File

@ -13,7 +13,7 @@
<span class='fas {{ icon }}'></span>
{% endif %}
</td>
<td><b>{% trans setting.name %}</b></td>
<td><strong>{% trans setting.name %}</strong></td>
<td>
{% if setting.is_bool %}
<div>
@ -21,7 +21,7 @@
</div>
{% else %}
<div id='setting-{{ setting.pk }}'>
<b>
<strong>
<span id='setting-value-{{ setting.key.upper }}' fieldname='{{ setting.key.upper }}'>
{% if setting.value %}
{{ setting.value }}
@ -29,7 +29,7 @@
<i>{% trans "No value set" %}</i>
{% endif %}
</span>
</b>
</strong>
{{ setting.units }}
</div>
{% endif %}

View File

@ -80,7 +80,7 @@
<span class='fas fa-info-circle icon-green'></span>
{% endif %}
{% endif %}
<span class="fas fa-user"></span> <b>{{ user.get_username }}</b></a>
<span class="fas fa-user"></span> <strong>{{ user.get_username }}</strong></a>
<ul class='dropdown-menu'>
{% if user.is_authenticated %}
{% if user.is_staff %}

View File

@ -80,7 +80,7 @@
{% if form.errors %}
<div class='login-error'>
<b>{% trans "Username / password combination is incorrect" %}</b>
<strong>{% trans "Username / password combination is incorrect" %}</strong>
</div>
{% endif %}

View File

@ -6,7 +6,7 @@
<col width='25'>
<tr>
<td colspan="3"><b>{% trans "Server" %}</b></td>
<td colspan="3"><strong>{% trans "Server" %}</strong></td>
</tr>
<tr>
<td><span class='fas fa-server'></span></td>
@ -77,7 +77,7 @@
{% endif %}
<tr>
<td colspan='3'><b>{% trans "Parts" %}</b></td>
<td colspan='3'><strong>{% trans "Parts" %}</strong></td>
</tr>
<tr>
<td><span class='fas fa-sitemap'></span></td>
@ -90,7 +90,7 @@
<td>{{ part_count }}</td>
</tr>
<tr>
<td colspan="3"><b>{% trans "Stock Items" %}</b></td>
<td colspan="3"><strong>{% trans "Stock Items" %}</strong></td>
</tr>
<tr>
<td><span class='fas fa-map-marker-alt'></span></td>