Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
c70fb532
Commit
c70fb532
authored
Sep 14, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Project View Page:
"Summary" now leads to the _main_ project's summary
parent
03b7c6e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
view.tcl
www/projects/view.tcl
+8
-4
No files found.
www/projects/view.tcl
View file @
c70fb532
...
...
@@ -119,7 +119,12 @@ if {!$read} {
# Set the context bar as a function on whether this is a subproject or not:
# ---------------------------------------------------------------------
db_1row select_project "select * from im_projects where project_id = :project_id"
db_1row select_project "
select p.*,
(select project_id from im_projects main_p where main_p.tree_sortkey = tree_root_key(p.tree_sortkey)) as main_project_id
from im_projects p
where p.project_id = :project_id
"
set page_title "$project_nr - $project_name"
set context_bar [im_context_bar [list /intranet/projects/ "[_ intranet-core.Projects]"] $page_title]
...
...
@@ -253,7 +258,7 @@ if {$gantt_project_enabled_p} {
# Setup the subnavbar
set bind_vars [ns_set create]
ns_set put $bind_vars project_id $project_id
ns_set put $bind_vars project_id $
main_
project_id
set parent_menu_id [im_menu_id_from_label "project"]
set menu_label "project_summary"
switch $view_name {
...
...
@@ -265,15 +270,14 @@ switch $view_name {
}
}
set sub_navbar [im_sub_navbar \
-components \
-current_plugin_id $plugin_id \
-base_url "/intranet/projects/view?project_id=$project_id" \
$parent_menu_id \
$bind_vars "" "pagedesriptionbar" $menu_label]
set left_navbar_html ""
if {"" != $admin_html_content} {
append left_navbar_html "
...
...
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