2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

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 }} {{ block.super }}
<div class='alert alert-block alert-info'> <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" %} {% trans "The following stock items will be allocated to the specified build output" %}
</div> </div>
{% if allocations %} {% if allocations %}

View File

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

View File

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@
{% block form %} {% 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'> <form method='post' action='' class='js-modal-form' enctype='multipart/form-data'>
{% csrf_token %} {% csrf_token %}

View File

@ -22,7 +22,7 @@
{% endif %} {% endif %}
<div class='alert alert-block alert-info'> <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> <br>
{% trans "Shipping this order means that the order will no longer be editable." %} {% trans "Shipping this order means that the order will no longer be editable." %}
</div> </div>

View File

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

View File

@ -17,7 +17,7 @@
</div> </div>
{% else %} {% else %}
<div class='alert alert-danger alert-block'> <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> </div>
{% endif %} {% endif %}

View File

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

View File

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

View File

@ -43,9 +43,9 @@
{% block form_alert %} {% block form_alert %}
<div class='alert alert-info alert-block'> <div class='alert alert-info alert-block'>
<b>{% trans "Requirements for BOM upload" %}:</b> <strong>{% trans "Requirements for BOM upload" %}:</strong>
<ul> <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> <li>{% trans "Each part must already exist in the database" %}</li>
</ul> </ul>
</div> </div>

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
{% block pre_form_content %} {% block pre_form_content %}
<div class='alert alert-block alert-danger'> <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> </div>
{% if part.used_in_count %} {% if part.used_in_count %}

View File

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

View File

@ -6,7 +6,7 @@
{{ block.super }} {{ block.super }}
<div class='alert alert-info alert-block'> <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 %} {% blocktrans with full_name=part.full_name %}Create a new variant of template <i>'{{full_name}}'</i>.{% endblocktrans %}
</div> </div>

View File

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

View File

@ -9,7 +9,7 @@
{% trans "Are you sure you want to delete this stock item?" %} {% trans "Are you sure you want to delete this stock item?" %}
<br> <br>
{% decimal item.quantity as qty %} {% 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> </div>
{% endblock %} {% endblock %}

View File

@ -3,7 +3,7 @@
<div class="navigation"> <div class="navigation">
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="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> <li class="breadcrumb-item{% if location is None %} active" aria-current="page{% endif %}"><a href="/stock/">{% trans "Stock" %}</a></li>
{% if location %} {% if location %}
{% for path_item in location.parentpath %} {% for path_item in location.parentpath %}

View File

@ -20,7 +20,7 @@ the top level 'Stock' location.
<ul class='list-group'> <ul class='list-group'>
{% for loc in location.children.all %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
@ -36,7 +36,7 @@ If this location is deleted, these items will be moved to the top level 'Stock'
<ul class='list-group'> <ul class='list-group'>
{% for item in location.stock_items.all %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}

View File

@ -4,13 +4,13 @@
{% block pre_form_content %} {% block pre_form_content %}
<div class='alert alert-block alert-info'> <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> {% 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." %} {% trans "It can be converted to one of the part variants listed below." %}
</div> </div>
<div class='alert alert-block alert-warning'> <div class='alert alert-block alert-warning'>
<b>{% trans "Warning" %}</b> <strong>{% trans "Warning" %}</strong>
{% trans "This action cannot be easily undone" %} {% trans "This action cannot be easily undone" %}
</div> </div>

View File

@ -34,7 +34,7 @@
function addHeaderTitle(title) { function addHeaderTitle(title) {
// Add a header block to the action list // Add a header block to the action list
$("#action-item-list").append( $("#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) { function addItemTitle(title) {
// Add header block to the results list // Add header block to the results list
$('#search-item-list').append( $('#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>
<li class='list-group-item'> <li class='list-group-item'>
<b>{% trans "User Settings" %}</b> <strong>{% trans "User Settings" %}</strong>
</li> </li>
<li class='list-group-item' title='{% trans "Account" %}'> <li class='list-group-item' title='{% trans "Account" %}'>
@ -53,7 +53,7 @@
{% if user.is_staff %} {% if user.is_staff %}
<li class='list-group-item'> <li class='list-group-item'>
<b>{% trans "InvenTree Settings" %}</b> <strong>{% trans "InvenTree Settings" %}</strong>
</li> </li>
<li class='list-group-item' title='{% trans "Server" %}'> <li class='list-group-item' title='{% trans "Server" %}'>

View File

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

View File

@ -80,7 +80,7 @@
<span class='fas fa-info-circle icon-green'></span> <span class='fas fa-info-circle icon-green'></span>
{% endif %} {% endif %}
{% 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'> <ul class='dropdown-menu'>
{% if user.is_authenticated %} {% if user.is_authenticated %}
{% if user.is_staff %} {% if user.is_staff %}

View File

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

View File

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