forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use directly <a> and style it as button instead of using button
Since few email servers (like outlook) strips out link in the button making them unclickable.
- Loading branch information
1 parent
9fb7b49
commit a29b92f
Showing
1 changed file
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
<h4>{{_("Request for Quotation")}}</h4> | ||
<p>{{ supplier_salutation if supplier_salutation else ''}} {{ supplier_name }},</p> | ||
<p>{{ message }}</p> | ||
|
||
<p>{{_("The Request for Quotation can be accessed by clicking on the following button")}}:</p> | ||
<p> | ||
<button style="border: 1px solid #15c; padding: 6px; border-radius: 5px; background-color: white;"> | ||
<a href="{{ rfq_link }}" style="color: #15c; text-decoration:none;" target="_blank">Submit your Quotation</a> | ||
</button> | ||
</p><br> | ||
|
||
<p>{{_("Regards")}},<br> | ||
{{ user_fullname }}</p><br> | ||
|
||
<br> | ||
<a | ||
href="{{ rfq_link }}" | ||
class="btn btn-default btn-sm" | ||
target="_blank"> | ||
{{ _("Submit your Quotation") }} | ||
</a> | ||
<br> | ||
<br> | ||
{% if update_password_link %} | ||
|
||
<br> | ||
<p>{{_("Please click on the following button to set your new password")}}:</p> | ||
<a | ||
href="{{ update_password_link }}" | ||
class="btn btn-default btn-xs" | ||
target="_blank"> | ||
{{_("Set Password") }} | ||
</a> | ||
<br> | ||
<br> | ||
{% endif %} | ||
<p> | ||
<button style="border: 1px solid #15c; padding: 4px; border-radius: 5px; background-color: white;"> | ||
<a href="{{ update_password_link }}" style="color: #15c; font-size: 12px; text-decoration:none;" target="_blank">{{_("Update Password") }}</a> | ||
</button> | ||
{{_("Regards")}},<br> | ||
{{ user_fullname }} | ||
</p> | ||
|
||
{% endif %} |