mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-02-16 19:40:39 +01:00
remove download attribute if downloads are disabled
This commit is contained in:
parent
6b54b6546a
commit
6ceb60cf09
@ -94,7 +94,7 @@
|
|||||||
|
|
||||||
<div class="text-center text-white">
|
<div class="text-center text-white">
|
||||||
|
|
||||||
<a class="rounded p-3 bg-indigo-500 hover:bg-indigo-700 shadow-lg{% if block_downloads %} cursor-not-allowed disabled{% endif %}" download="{{name}}" href="{{download_url}}">Download Now! ({{ human_size }})</a>
|
<a class="rounded p-3 bg-indigo-500 hover:bg-indigo-700 shadow-lg{% if block_downloads %} cursor-not-allowed disabled{% else %}" download="{{name}}{% endif %}" href="{{download_url}}">Download Now! ({{ human_size }})</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -107,7 +107,7 @@
|
|||||||
{% for row in reply_btns %}
|
{% for row in reply_btns %}
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
{% for btn in row %}
|
{% for btn in row %}
|
||||||
<a class="p-2 m-1 flex-1 border rounded bg-white border-blue-500 text-center text-blue-500 hover:bg-blue-500 hover:text-white transition ease-in duration-150" href="{{ btn.url }}" target="_blank"> {{btn.text}} </a>
|
<a class="p-2 m-1 flex-1 border rounded bg-white border-blue-500 text-center text-blue-500 hover:bg-blue-500 hover:text-white transition ease-in duration-150" href="{{btn.url}}" target="_blank"> {{btn.text}} </a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user