Skip to content
Snippets Groups Projects
Commit 175336ea authored by Ondrej Rehounek's avatar Ondrej Rehounek
Browse files

district and region: If for header block btn

parent ca5cd01f
No related branches found
No related tags found
2 merge requests!435Release upgrades,!430Feature/majak misc enhancements
Pipeline #7040 passed
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<div class="lg:row-span-1 lg:col-span-3 order-3"> <div class="lg:row-span-1 lg:col-span-3 order-3">
<div class="mt-4 md:mt-8 space-y-4 "> <div class="mt-4 md:mt-8 space-y-4 ">
{% if self.button_link and self.button_text %}
<a href="{{ self.button_link }}" <a href="{{ self.button_link }}"
class="btn btn--icon btn--hoveractive btn--fullwidth md:btn--autowidth text-lg"> class="btn btn--icon btn--hoveractive btn--fullwidth md:btn--autowidth text-lg">
<div class="btn__body-wrap"> <div class="btn__body-wrap">
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
</div> </div>
</div> </div>
</a> </a>
{% endif %}
</div> </div>
</div> </div>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<div class="lg:row-span-1 lg:col-span-3 order-3"> <div class="lg:row-span-1 lg:col-span-3 order-3">
<div class="mt-4 md:mt-8 space-y-4 "> <div class="mt-4 md:mt-8 space-y-4 ">
{% if self.button_link and self.button_text %}
<a href="{{ self.button_link }}" <a href="{{ self.button_link }}"
class="btn btn--icon btn--hoveractive btn--fullwidth md:btn--autowidth text-lg"> class="btn btn--icon btn--hoveractive btn--fullwidth md:btn--autowidth text-lg">
<div class="btn__body-wrap"> <div class="btn__body-wrap">
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
</div> </div>
</div> </div>
</a> </a>
{% endif %}
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment