|
76 | 76 | </template> |
77 | 77 |
|
78 | 78 | <template #quick-actions> |
79 | | - <div v-if="!editMode && !loadingData"> |
| 79 | + <div v-if="!editMode && !loadingData" class="quick-actions"> |
| 80 | + <NcButton |
| 81 | + v-if="isTalkEnabled && isInSystemAddressBook" |
| 82 | + :aria-label="t('contacts', 'Go to talk conversation')" |
| 83 | + :name="t('contacts', 'Go to talk conversation')" |
| 84 | + class="icon-talk quick-action" |
| 85 | + :href="callUrl" /> |
| 86 | + <NcButton |
| 87 | + v-if="profilePageLink" |
| 88 | + class="quick-action" |
| 89 | + :aria-label="t('contacts', 'View profile')" |
| 90 | + :name="t('contacts', 'View profile')" |
| 91 | + :href="profilePageLink"> |
| 92 | + <template #icon> |
| 93 | + <IconAccount :size="20" /> |
| 94 | + </template> |
| 95 | + </NcButton> |
80 | 96 | <Actions |
81 | | - :inline="6" |
| 97 | + class="quick-action" |
82 | 98 | variant="secondary"> |
83 | | - <ActionButton |
84 | | - v-if="isTalkEnabled && isInSystemAddressBook" |
85 | | - :aria-label="t('contacts', 'Go to talk conversation')" |
86 | | - :name="t('contacts', 'Go to talk conversation')" |
87 | | - class="icon-talk quick-action" |
88 | | - :href="callUrl" /> |
89 | | - <ActionButton |
90 | | - v-if="profilePageLink" |
91 | | - class="quick-action" |
92 | | - :aria-label="t('contacts', 'View profile')" |
93 | | - :name="t('contacts', 'View profile')" |
94 | | - :href="profilePageLink"> |
95 | | - <template #icon> |
96 | | - <IconAccount :size="20" /> |
97 | | - </template> |
98 | | - </ActionButton> |
| 99 | + <template #icon> |
| 100 | + <IconMail :size="20" /> |
| 101 | + </template> |
99 | 102 | <ActionLink |
100 | 103 | v-for="emailAddress in emailAddressList" |
101 | 104 | :key="emailAddress" |
102 | | - class="quick-action" |
103 | 105 | :href="'mailto:' + emailAddress"> |
104 | 106 | <template #icon> |
105 | 107 | <IconMail :size="20" /> |
106 | 108 | </template> |
107 | 109 | {{ emailAddress }} |
108 | 110 | </ActionLink> |
| 111 | + </Actions> |
| 112 | + <Actions |
| 113 | + class="quick-action" |
| 114 | + variant="secondary"> |
| 115 | + <template #icon> |
| 116 | + <IconCall :size="20" /> |
| 117 | + </template> |
109 | 118 | <ActionLink |
110 | 119 | v-for="phoneNumber in phoneNumberList" |
111 | 120 | :key="phoneNumber" |
112 | | - class="quick-action" |
113 | 121 | :href="'tel:' + phoneNumber"> |
114 | 122 | <template #icon> |
115 | 123 | <IconCall :size="20" /> |
@@ -1277,4 +1285,8 @@ section.contact-details { |
1277 | 1285 | :deep(.contact-details-wrapper-read-only .input-field__input) { |
1278 | 1286 | box-shadow: none !important; |
1279 | 1287 | } |
| 1288 | +
|
| 1289 | +.quick-actions { |
| 1290 | + display: flex; |
| 1291 | +} |
1280 | 1292 | </style> |
0 commit comments