fix: Update workflow action email template style

This commit is contained in:
Suraj Shetty 2021-01-13 10:38:35 +05:30
parent 607b5f8eb4
commit 7e4bc4d9b3

View file

@ -1,8 +1,8 @@
<p>{{ message }}</p>
<div>
<p style="margin: 2em 0 !important">
<p style="margin: 10px 0">
{% for action in actions %}
<a class="btn" style="margin-right: 1em" href="{{ action.action_link }}">{{_(action.action_name)}}</a>
<a class="btn {% if action.is_primary %} btn-primary {% endif %}" style="margin-right: 10px" href="{{ action.action_link }}">{{_(action.action_name)}}</a>
{% endfor %}
</p>
</div>