Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
0124ca7f
Commit
0124ca7f
authored
Aug 14, 2017
by
Benjamin Fischer
Browse files
FileManager: updated info dialog
parent
9e3ade31
Changes
2
Show whitespace changes
Inline
Side-by-side
vispa/extensions/file2/static/html/vue/info-dialog-body.html
View file @
0124ca7f
...
@@ -5,12 +5,7 @@
...
@@ -5,12 +5,7 @@
</tr>
</tr>
<tr
v-if=
"summary.type"
>
<tr
v-if=
"summary.type"
>
<th>
File type
</th>
<th>
File type
</th>
<td>
{{
<td>
{{typeDesc}}
</td>
(summary.type == "d" ? "Directory" : (
(summary.ext ? summary.ext + "-" : "") +
"File"
)) + (summary.symlink ? " (symlink)" : "")
}}
</td>
</tr>
</tr>
<tr
v-if=
"summary.files"
>
<tr
v-if=
"summary.files"
>
<th>
Number of files
</th>
<th>
Number of files
</th>
...
@@ -29,7 +24,7 @@
...
@@ -29,7 +24,7 @@
<td>
{{{summary.size | formatSize}}}
</td>
<td>
{{{summary.size | formatSize}}}
</td>
</tr>
</tr>
<tr
v-if=
"summary.mtime"
>
<tr
v-if=
"summary.mtime"
>
<th>
Modifie
rt at
</th>
<th>
Modifie
d
</th>
<td>
{{summary.mtime | formatDate}}
</td>
<td>
{{summary.mtime | formatDate}}
</td>
</tr>
</tr>
<tr
v-if=
"summary.pathBase"
>
<tr
v-if=
"summary.pathBase"
>
...
...
vispa/extensions/file2/static/js/handler.js
View file @
0124ca7f
...
@@ -246,9 +246,12 @@ define([
...
@@ -246,9 +246,12 @@ define([
// info dialog
// info dialog
var
InfoDialog
=
Dialog
.
extend
({
var
InfoDialog
=
Dialog
.
extend
({
computed
:
{
computed
:
{
typeDesc
:
function
()
{
return
(
this
.
summary
.
type
==
"
d
"
?
"
Directory
"
:
(
(
this
.
summary
.
ext
?
this
.
summary
.
ext
+
"
-
"
:
""
)
+
"
File
"
))
+
(
this
.
summary
.
symlink
?
"
(symlink)
"
:
""
);
},
},
methods
:
{
},
},
filters
:
{
filters
:
{
formatSize
:
Utils
.
formatSize
,
formatSize
:
Utils
.
formatSize
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment