Show mail address in popover menu
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
d091793ceb
commit
e3efc4979b
|
@ -46,9 +46,7 @@ class EMailProvider implements IProvider {
|
|||
public function process(IEntry $entry) {
|
||||
foreach ($entry->getEMailAddresses() as $address) {
|
||||
// TODO: absolute path
|
||||
// TODO: meaningful URL
|
||||
// TODO: l10n
|
||||
$action = $this->actionFactory->newEMailAction('icon-mail', 'Mail', $address);
|
||||
$action = $this->actionFactory->newEMailAction('icon-mail', $address, $address);
|
||||
$entry->addAction($action);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue