Skip to content

Commit b66a539

Browse files
committed
CRM-657: Improve contact view to use responcive-cell design
- changed order of buttons on contact view page
1 parent 0ae9d85 commit b66a539

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/OroCRM/Bundle/ContactBundle/Resources/views/Contact/view.html.twig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
{% set gridName = 'contacts-email-grid' %}
1111

1212
{% block navButtons %}
13-
{% if resource_granted('orocrm_call_create') %}
14-
{{ UI.clientButton({
15-
'dataUrl': path('orocrm_call_create', { 'contactId': entity.id }) ,
16-
'aCss': 'no-hash log-call-button',
17-
'iCss': 'icon-phone',
18-
'dataId': entity.id,
19-
'title' : 'Log call'|trans,
20-
'label' : 'Log call'|trans
21-
}) }}
22-
{% endif %}
2313
{% if resource_granted('oro_email_create') %}
2414
{{ UI.clientButton({
2515
'dataUrl': path('orocrm_contact_email_create', { 'contactId': entity.id }) ,
@@ -30,6 +20,16 @@
3020
'label' : 'Send email'|trans
3121
}) }}
3222
{% endif %}
23+
{% if resource_granted('orocrm_call_create') %}
24+
{{ UI.clientButton({
25+
'dataUrl': path('orocrm_call_create', { 'contactId': entity.id }) ,
26+
'aCss': 'no-hash log-call-button',
27+
'iCss': 'icon-phone',
28+
'dataId': entity.id,
29+
'title' : 'Log call'|trans,
30+
'label' : 'Log call'|trans
31+
}) }}
32+
{% endif %}
3333
{% if resource_granted('orocrm_contact_update') %}
3434
{{ UI.button({
3535
'path' : path('orocrm_contact_update', { 'id': entity.id }),

0 commit comments

Comments
 (0)