File Browser: Show complete, original file and folder names #408

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-16 14:19:20 +02:00
parent 8eb4b605c8
commit bd68494f3f

View file

@ -91,7 +91,7 @@
<div> <div>
<h3 class="body-2 mb-2" :title="model.Name"> <h3 class="body-2 mb-2" :title="model.Name">
<button @click.exact="openFile(index)"> <button @click.exact="openFile(index)">
{{ model.baseName(19) }} {{ model.baseName() }}
</button> </button>
</h3> </h3>
<div class="caption" title="Info"> <div class="caption" title="Info">
@ -103,13 +103,10 @@
<div> <div>
<h3 class="body-2 mb-2" :title="model.Title"> <h3 class="body-2 mb-2" :title="model.Title">
<button @click.exact="openFile(index)"> <button @click.exact="openFile(index)">
{{ model.Title }} {{ model.baseName() }}
</button> </button>
</h3> </h3>
<div class="caption" title="Path" v-if="model.Title !== model.Path"> <div class="caption" title="Path">
/{{ model.Path }}
</div>
<div class="caption" title="Path" v-else>
<translate key="Folder">Folder</translate> <translate key="Folder">Folder</translate>
</div> </div>
</div> </div>