Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
7a4bfa64
Unverified
Commit
7a4bfa64
authored
Jan 21, 2023
by
Nicolas Giard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: file manager file extensions descriptions
parent
0056e2fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
quasar.config.js
ux/quasar.config.js
+4
-4
FileManager.vue
ux/src/components/FileManager.vue
+2
-2
en.json
ux/src/i18n/locales/en.json
+0
-0
No files found.
ux/quasar.config.js
View file @
7a4bfa64
...
...
@@ -102,11 +102,11 @@ module.exports = configure(function (/* ctx */) {
devServer
:
{
// https: true
open
:
false
,
// opens browser window automatically
port
:
3
001
,
port
:
5
001
,
proxy
:
{
'/_graphql'
:
'http://localhost:
3
000/_graphql'
,
'/_site'
:
'http://localhost:
3
000'
,
'/_user'
:
'http://localhost:
3
000'
'/_graphql'
:
'http://localhost:
5
000/_graphql'
,
'/_site'
:
'http://localhost:
5
000'
,
'/_user'
:
'http://localhost:
5
000'
}
},
...
...
ux/src/components/FileManager.vue
View file @
7a4bfa64
...
...
@@ -411,7 +411,7 @@ const files = computed(() => {
case
'asset'
:
{
f
.
icon
=
fileTypes
[
f
.
fileExt
]?.
icon
??
''
f
.
side
=
filesize
(
f
.
fileSize
,
{
round
:
0
})
if
(
fileTypes
[
f
.
file
Type
])
{
if
(
fileTypes
[
f
.
file
Ext
])
{
f
.
caption
=
t
(
`fileman.
${
f
.
fileExt
}
FileType`
)
}
else
{
f
.
caption
=
t
(
'fileman.unknownFileType'
,
{
type
:
f
.
fileExt
.
toUpperCase
()
})
...
...
@@ -459,7 +459,7 @@ const currentFileDetails = computed(() => {
case
'asset'
:
{
items
.
push
({
label
:
t
(
'fileman.detailsAssetType'
),
value
:
fileTypes
[
item
.
file
Type
]
?
t
(
`fileman.
${
item
.
fileType
}
FileType`
)
:
t
(
'fileman.unknownFileType'
,
{
type
:
item
.
fileType
.
toUpperCase
()
})
value
:
fileTypes
[
item
.
file
Ext
]
?
t
(
`fileman.
${
item
.
fileExt
}
FileType`
)
:
t
(
'fileman.unknownFileType'
,
{
type
:
item
.
fileExt
.
toUpperCase
()
})
})
items
.
push
({
label
:
t
(
'fileman.detailsAssetSize'
),
...
...
ux/src/i18n/locales/en.json
View file @
7a4bfa64
This diff is collapsed.
Click to expand it.
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