Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest-fs-openacs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-rest-fs-openacs
Commits
8b2df8e5
Commit
8b2df8e5
authored
Jan 21, 2019
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now writing out additional attributes only for files
parent
8758d809
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
file-tree.json.tcl
www/file-tree.json.tcl
+6
-3
No files found.
www/file-tree.json.tcl
View file @
8b2df8e5
...
...
@@ -211,11 +211,14 @@ ${indent}\t\"live_version_id\":$live_version_id,
${indent}
\t\"
name
\"
:
\"
$quoted
_file_name
\"
,
${indent}
\t\"
iconCls
\"
:
\"
icon-
$type
\"
,
${indent}
\t\"
expanded
\"
:
$expanded
,
${indent}
\t\"
versions
\"
:
\[
[
join
$version
_list
", "
]
${indent}
\t\]
,
"
if
{
"file"
eq
$type
}
{
append file_json
"
\
${indent}
\t\"
versions
\"
:
\[
[
join
$version
_list
", "
]
\n
${indent}
\t\]
,
"
}
if
{
"folder"
==
$type
&& 0 ==
$num
_children
}
{
if
{
"folder"
eq
$type
&& 0 ==
$num
_children
}
{
append file_json
"
${indent}
\t\"
children
\"
:
\[\]
,
\n
"
}
...
...
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