Remove inbound from caseworking for now

This commit is contained in:
Chris Hill-Scott
2018-06-13 16:35:00 +01:00
parent e3e9333840
commit 5b14ca45a5

View File

@@ -49,7 +49,7 @@
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
{% endif %}
{% if current_user.has_permissions('send_messages') and template.template_type == 'sms' and can_receive_inbound %}
{% if current_user.has_permissions('send_messages') and current_user.has_permissions('view_activity') and template.template_type == 'sms' and can_receive_inbound %}
<p>
<a href="{{ url_for('.conversation', service_id=current_service.id, notification_id=notification_id, _anchor='n{}'.format(notification_id)) }}">See all text messages sent to this phone number</a>
</p>