mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 05:43:41 -05:00
1.4.4-alpha - don't show rules accordion if there aren't any rules
This commit is contained in:
parent
f633669b1f
commit
6a79c1a4b5
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,6 @@ antiSpamFile = 'wordlist.txt'
|
||||||
blacklistFile = 'word_blacklist.txt'
|
blacklistFile = 'word_blacklist.txt'
|
||||||
configFile = 'config.json'
|
configFile = 'config.json'
|
||||||
appName = 'CatAsk'
|
appName = 'CatAsk'
|
||||||
version = '1.4.3'
|
version = '1.4.4'
|
||||||
# id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9
|
# id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9
|
||||||
version_id = '-alpha'
|
version_id = '-alpha'
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
<h2 class="h5 text-center fw-light">{{ cfg.instance.description | render_markdown }}</h2>
|
<h2 class="h5 text-center fw-light">{{ cfg.instance.description | render_markdown }}</h2>
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
</div>
|
</div>
|
||||||
|
{% if len(cfg.instance.rules) > 0 %}
|
||||||
<div class="m-auto col-sm-6">
|
<div class="m-auto col-sm-6">
|
||||||
<div class="accordion" id="rules-accordion">
|
<div class="accordion" id="rules-accordion">
|
||||||
<div class="accordion-item">
|
<div class="accordion-item">
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-{% if combined %}4{% else %}8{% endif %}{% if not combined %} m-auto{% endif %}">
|
<div class="col-sm-{% if combined %}4{% else %}8{% endif %}{% if not combined %} m-auto{% endif %}">
|
||||||
|
|
Loading…
Add table
Reference in a new issue