update link

This commit is contained in:
samaradel
2022-07-21 21:31:12 +02:00
parent 2db4070230
commit dd589195cb

View File

@@ -11,10 +11,10 @@
{% elif base is containing("www_threefold_io") %} {% elif base is containing("www_threefold_io") %}
{% set btn_path = base ~ path %} {% set btn_path = base ~ path %}
<button onclick="window.location='{{btn_path}}'" <button onclick="window.open('{{btn_path}}');"
class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left"> class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left">
{{ body | trim_start_matches(pat="<p>") | safe}} {{ body | trim_start_matches(pat="<p>") | safe}}
</button> </button>
{% else %} {% else %}
<button onclick="window.location='{{path}}'" <button onclick="window.location='{{path}}'"
class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left"> class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left">