|
71 | 71 | </template> |
72 | 72 |
|
73 | 73 | <template #quick-actions> |
74 | | - <div v-if="!editMode && !loadingData"> |
75 | | - <Actions :inline="6" |
76 | | - type="secondary"> |
77 | | - <ActionButton v-if="isTalkEnabled && isInSystemAddressBook" |
78 | | - :aria-label="(t('contacts', 'Go to talk conversation'))" |
79 | | - :name="(t('contacts', 'Go to talk conversation'))" |
80 | | - class="icon-talk quick-action" |
81 | | - :href="callUrl" /> |
82 | | - <ActionButton v-if="profilePageLink" |
83 | | - class="quick-action" |
84 | | - :aria-label="(t('contacts','View profile'))" |
85 | | - :name="(t('contacts','View profile'))" |
86 | | - :href="profilePageLink"> |
87 | | - <template #icon> |
88 | | - <IconAccount :size="20" /> |
89 | | - </template> |
90 | | - </ActionButton> |
| 74 | + <div v-if="!editMode && !loadingData" class="quick-actions"> |
| 75 | + <NcButton v-if="isTalkEnabled && isInSystemAddressBook" |
| 76 | + :aria-label="(t('contacts', 'Go to talk conversation'))" |
| 77 | + :name="(t('contacts', 'Go to talk conversation'))" |
| 78 | + class="icon-talk quick-action" |
| 79 | + :href="callUrl" /> |
| 80 | + <NcButton v-if="profilePageLink" |
| 81 | + class="quick-action" |
| 82 | + :aria-label="(t('contacts','View profile'))" |
| 83 | + :name="(t('contacts','View profile'))" |
| 84 | + :href="profilePageLink"> |
| 85 | + <template #icon> |
| 86 | + <IconAccount :size="20" /> |
| 87 | + </template> |
| 88 | + </NcButton> |
| 89 | + <Actions class="quick-action" |
| 90 | + variant="secondary"> |
| 91 | + <template #icon> |
| 92 | + <IconMail :size="20" /> |
| 93 | + </template> |
91 | 94 | <ActionLink v-for="emailAddress in emailAddressList" |
92 | 95 | :key="emailAddress" |
93 | | - class="quick-action" |
94 | 96 | :href="'mailto:' + emailAddress"> |
95 | 97 | <template #icon> |
96 | 98 | <IconMail :size="20" /> |
97 | 99 | </template> |
98 | 100 | {{ emailAddress }} |
99 | 101 | </ActionLink> |
| 102 | + </Actions> |
| 103 | + <Actions class="quick-action" |
| 104 | + variant="secondary"> |
| 105 | + <template #icon> |
| 106 | + <IconCall :size="20" /> |
| 107 | + </template> |
100 | 108 | <ActionLink v-for="phoneNumber in phoneNumberList" |
101 | 109 | :key="phoneNumber" |
102 | | - class="quick-action" |
103 | 110 | :href="'tel:' + phoneNumber"> |
104 | 111 | <template #icon> |
105 | 112 | <IconCall :size="20" /> |
@@ -1203,4 +1210,8 @@ section.contact-details { |
1203 | 1210 | overflow: hidden; |
1204 | 1211 | text-overflow: ellipsis; |
1205 | 1212 | } |
| 1213 | +
|
| 1214 | +.quick-actions { |
| 1215 | + display: flex; |
| 1216 | +} |
1206 | 1217 | </style> |
0 commit comments