diff --git a/app/assets/stylesheets/_grids.scss b/app/assets/stylesheets/_grids.scss index 818891e54..84cbbe94c 100644 --- a/app/assets/stylesheets/_grids.scss +++ b/app/assets/stylesheets/_grids.scss @@ -44,6 +44,11 @@ margin-top: $gutter-half; } +.top-gutter-1-3 { + @extend %top-gutter; + margin-top: $gutter / 3; +} + %bottom-gutter, .bottom-gutter { @extend %contain-floats; diff --git a/app/templates/views/templates/_template.html b/app/templates/views/templates/_template.html index 265597f68..f7a7d4d37 100644 --- a/app/templates/views/templates/_template.html +++ b/app/templates/views/templates/_template.html @@ -1,8 +1,16 @@ +{% from 'components/message-count-label.html' import message_count_label %} +
This template was deleted {{ template._template.updated_at|format_datetime_relative }}.
+ {% elif not current_user.has_permissions('send_messages', 'manage_api_keys', 'manage_templates', 'manage_service') %} ++ If you need to send this + {{ message_count_label(1, template.template_type, suffix='') }} + or edit this template, contact your manager. +
{% else %}