mirror of
https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker.git
synced 2026-02-05 07:49:06 -06:00
fix(add): env vars now correctly hides the minifigure text on the add page
This commit is contained in:
@@ -40,8 +40,8 @@
|
||||
<div id="add-complete"></div>
|
||||
{% endif %}
|
||||
<div class="mb-3">
|
||||
<label for="add-set" class="form-label">{% if not bulk %}{% if not config['DISABLE_INDIVIDUAL_MINIFIGURES'] %}Set or Minifigure number (only one){% else %}Set number (only one){% endif %}{% else %}List of sets (separated by a comma){% endif %}</label>
|
||||
<input type="text" class="form-control" id="add-set" placeholder="{% if not bulk %}{% if not config['DISABLE_INDIVIDUAL_MINIFIGURES'] %}107-1 or fig-001234 or ...{% else %}107-1 or ...{% endif %}{% else %}107-1, 1642-1, ...{% endif %}"
|
||||
<label for="add-set" class="form-label">{% if not bulk %}{% if not config.get('HIDE_INDIVIDUAL_MINIFIGURES', False) and not config.get('DISABLE_INDIVIDUAL_MINIFIGURES', False) %}Set or Minifigure number (only one){% else %}Set number (only one){% endif %}{% else %}List of sets (separated by a comma){% endif %}</label>
|
||||
<input type="text" class="form-control" id="add-set" placeholder="{% if not bulk %}{% if not config.get('HIDE_INDIVIDUAL_MINIFIGURES', False) and not config.get('DISABLE_INDIVIDUAL_MINIFIGURES', False) %}107-1 or fig-001234 or ...{% else %}107-1 or ...{% endif %}{% else %}107-1, 1642-1, ...{% endif %}"
|
||||
data-path="{{ path }}"
|
||||
data-namespace="{{ namespace }}"
|
||||
data-msg-complete="{{ messages['COMPLETE'] }}"
|
||||
@@ -53,7 +53,7 @@
|
||||
data-msg-import-minifigure="{{ messages['IMPORT_MINIFIGURE'] }}"
|
||||
data-msg-load-minifigure="{{ messages['LOAD_MINIFIGURE'] }}"
|
||||
data-msg-minifigure-loaded="{{ messages['MINIFIGURE_LOADED'] }}">
|
||||
<div class="form-text">Sets: use format like 107-1{% if not config['DISABLE_INDIVIDUAL_MINIFIGURES'] %}. Minifigures: use format like fig-001234{% endif %}</div>
|
||||
<div class="form-text">Sets: use format like 107-1{% if not config.get('HIDE_INDIVIDUAL_MINIFIGURES', False) and not config.get('DISABLE_INDIVIDUAL_MINIFIGURES', False) %}. Minifigures: use format like fig-001234{% endif %}</div>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="add-no-confirm" {% if bulk %}checked disabled{% endif %}>
|
||||
|
||||
Reference in New Issue
Block a user