Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-wiki
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-wiki
Commits
4336fd82
Commit
4336fd82
authored
Sep 11, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Don't show Wiki portlet in a sub-project
parent
22e13a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
intranet-wiki-procs.tcl
tcl/intranet-wiki-procs.tcl
+3
-0
No files found.
tcl/intranet-wiki-procs.tcl
View file @
4336fd82
...
...
@@ -19,6 +19,9 @@ ad_proc im_wiki_home_component { } {
ad_proc im_wiki_project_component
{
project_id
}
{
Wiki component to be shown at the system home page
}
{
set parent_id
[
db_string parent_id
"select parent_id from im_projects where project_id = :project_id"
]
if
{
""
ne
$parent
_id
}
{
return
""
}
set result
""
if
{[
im_package_exists_p xowiki
]}
{
set params
[
list
\
...
...
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