Make ‘send emails/text messages’ link bold

It:
- makes this whole block of links slightly more prominent
- reinforces that ‘send’ is the primary action
This commit is contained in:
Chris Hill-Scott
2016-05-04 21:24:02 +01:00
parent a8c62ee40a
commit 6917e11207
2 changed files with 6 additions and 2 deletions

View File

@@ -65,6 +65,10 @@
}
.primary {
@include bold-19;
}
}
.sms-message-use-links-with-title {

View File

@@ -18,8 +18,8 @@
<div class="column-one-third">
<div class="sms-message-use-links{% if show_title %}-with-title{% endif %}">
{% if current_user.has_permissions(permissions=['send_texts', 'send_emails', 'send_letters']) %}
<a href="{{ url_for(".send_messages", service_id=current_service.id, template_id=template.id) }}">
Send {{ 'text messages' if 'sms' == template.template_type else 'emails' }}
<a href="{{ url_for(".send_messages", service_id=current_service.id, template_id=template.id) }}" class="primary">
Send {{ 'text messages' if 'sms' == template.template_type else 'emails' }}
</a>
{% endif %}
{% if current_user.has_permissions(permissions=['manage_templates'], admin_override=True) %}