Merge pull request #31092 from surajshetty3416/fix-rfq-template

fix(rfq): Use `<a>` directly and style it as button instead of using `<button>`
This commit is contained in:
Suraj Shetty 2022-05-23 11:56:17 +05:30 committed by GitHub
commit f2b6475626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,29 @@
<h4>{{_("Request for Quotation")}}</h4> <h4>{{_("Request for Quotation")}}</h4>
<p>{{ supplier_salutation if supplier_salutation else ''}} {{ supplier_name }},</p> <p>{{ supplier_salutation if supplier_salutation else ''}} {{ supplier_name }},</p>
<p>{{ message }}</p> <p>{{ message }}</p>
<p>{{_("The Request for Quotation can be accessed by clicking on the following button")}}:</p> <p>{{_("The Request for Quotation can be accessed by clicking on the following button")}}:</p>
<p> <br>
<button style="border: 1px solid #15c; padding: 6px; border-radius: 5px; background-color: white;"> <a
<a href="{{ rfq_link }}" style="color: #15c; text-decoration:none;" target="_blank">Submit your Quotation</a> href="{{ rfq_link }}"
</button> class="btn btn-default btn-sm"
</p><br> target="_blank">
{{ _("Submit your Quotation") }}
<p>{{_("Regards")}},<br> </a>
{{ user_fullname }}</p><br> <br>
<br>
{% if update_password_link %} {% if update_password_link %}
<br>
<p>{{_("Please click on the following button to set your new password")}}:</p> <p>{{_("Please click on the following button to set your new password")}}:</p>
<p> <a
<button style="border: 1px solid #15c; padding: 4px; border-radius: 5px; background-color: white;"> href="{{ update_password_link }}"
<a href="{{ update_password_link }}" style="color: #15c; font-size: 12px; text-decoration:none;" target="_blank">{{_("Update Password") }}</a> class="btn btn-default btn-xs"
</button> target="_blank">
</p> {{_("Set Password") }}
</a>
<br>
<br>
{% endif %} {% endif %}
<p>
{{_("Regards")}},<br>
{{ user_fullname }}
</p>