From 0e5a0648e15ed8c8de4b98ba0266d900986d59c6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 20 Apr 2018 12:57:46 +0200 Subject: [PATCH] Elastic: Improvements in attachment/file preview --- plugins/kolab_files/lib/kolab_files_engine.php | 8 ++++---- .../kolab_files/skins/elastic/templates/filepreview.html | 8 ++++---- plugins/kolab_files/skins/larry/style.css | 2 +- plugins/libkolab/skins/elastic/templates/attachment.html | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php index 6a75566e..950d9fd5 100644 --- a/plugins/kolab_files/lib/kolab_files_engine.php +++ b/plugins/kolab_files/lib/kolab_files_engine.php @@ -702,20 +702,20 @@ class kolab_files_engine $table = new html_table(array('cols' => 2, 'class' => $attrib['class'])); // file name - $table->add('label', $this->plugin->gettext('name').':'); + $table->add('title', $this->plugin->gettext('name').':'); $table->add('data filename', $this->file_data['name']); // file type // @TODO: human-readable type name - $table->add('label', $this->plugin->gettext('type').':'); + $table->add('title', $this->plugin->gettext('type').':'); $table->add('data filetype', $this->file_data['type']); // file size - $table->add('label', $this->plugin->gettext('size').':'); + $table->add('title', $this->plugin->gettext('size').':'); $table->add('data filesize', $this->rc->show_bytes($this->file_data['size'])); // file modification time - $table->add('label', $this->plugin->gettext('mtime').':'); + $table->add('title', $this->plugin->gettext('mtime').':'); $table->add('data filemtime', $this->file_data['mtime']); // @TODO: for images: width, height, color depth, etc. diff --git a/plugins/kolab_files/skins/elastic/templates/filepreview.html b/plugins/kolab_files/skins/elastic/templates/filepreview.html index edd52d3b..2087b910 100644 --- a/plugins/kolab_files/skins/elastic/templates/filepreview.html +++ b/plugins/kolab_files/skins/elastic/templates/filepreview.html @@ -7,17 +7,17 @@ - +