Add title for filemode_icon and fix missing icons

This commit is contained in:
Hadi Nategh 2018-07-12 16:07:05 +02:00
parent 50d02bff81
commit a73884cdf8
4 changed files with 2 additions and 1 deletions

View File

@ -1380,6 +1380,7 @@ class mail_compose
$attach['filemode_icon'] = !is_dir($attach['file']) &&
($content['filemode'] == Vfs\Sharing::READONLY || $content['filemode'] == Vfs\Sharing::WRITABLE)
? Vfs\Sharing::LINK : $content['filemode'];
$attach['filemode_title'] = lang(Vfs\Sharing::$modes[$attach['filemode_icon']]['label']);
}
$content['to'] = self::resolveEmailAddressList($content['to']);

View File

@ -108,7 +108,7 @@
</columns>
<rows>
<row class="row attachmentRow">
<image src="$row_cont[filemode_icon]"/>
<image src="$row_cont[filemode_icon]" statustext="$row_cont[filemode_title]"/>
<description id="${row}[tmp_name]"/>
<description class="useEllipsis et2_link" id="${row}[name]" no_lang="1" onclick="app.mail.displayUploadedFile"/>
<vfs-size align="right" id="${row}[size]" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB