Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-30 12:28:42 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-30 12:28:59 +0300
commitc12545b58120423c31241cbd88b376eb756d109c (patch)
tree8d025a5d09a1386b2ed6487c7b442d1e4a4407a8 /core/templates
parent809058cb3ca68c74307b056c1581836f2b51b260 (diff)
Truncate filename in the middle on filepicker
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/filepicker.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html
index 49e2baa82ec..6d55689fe3d 100644
--- a/core/templates/filepicker.html
+++ b/core/templates/filepicker.html
@@ -43,7 +43,11 @@
<tbody>
<tr data-entryname="{filename}" data-type="{type}">
<td class="filename"
- style="background-image:url({icon})">{filename}
+ style="background-image:url({icon})">
+ <span class="filename-parts">
+ <span class="filename-parts__first">{filename1}</span>
+ <span class="filename-parts__last">{filename2}</span>
+ </div>
</td>
<td class="filesize"
style="color:rgb({sizeColor}, {sizeColor}, {sizeColor})">