mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-18 01:11:32 +00:00
Rename Twig globals: col_label, col_input, offset_label
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
815b2b6c7d
commit
17e83a9da5
34 changed files with 80 additions and 80 deletions
|
|
@ -12,7 +12,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
<p class="text-muted {{ offset_col }}">{% trans %}info_providers.from_url.help{% endtrans %}</p>
|
||||
<p class="text-muted {{ offset_label }}">{% trans %}info_providers.from_url.help{% endtrans %}</p>
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.url) }}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
{{ form_row(form.providers) }}
|
||||
|
||||
<div class="row mb-2">
|
||||
<div class="{{ input_col }} {{ offset_col }}">
|
||||
<div class="{{ col_input }} {{ offset_label }}">
|
||||
<a href="{{ path('info_providers_list') }}">{% trans %}info_providers.search.info_providers_list{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
{% block card_title %}<i class="fa-solid fa-gear fa-fw"></i> {% trans %}info_providers.settings.title{% endtrans %}: <b>{{ info_provider_info.name }}</b>{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
<div class="{{ offset_col }}">
|
||||
<div class="{{ offset_label }}">
|
||||
<h3>
|
||||
{% if info_provider_info.url is defined %}
|
||||
<a href="{{ info_provider_info.url }}" class="link-external" target="_blank" rel="nofollow">{{ info_provider_info.name }}</a>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
{{ form_start(form) }}
|
||||
<div class="row">
|
||||
<div class="{{ offset_col }} col mb-3 ps-2">
|
||||
<div class="{{ offset_label }} col mb-3 ps-2">
|
||||
<b>{{ form_help(form) }}</b>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue