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
7fbc6623
Commit
7fbc6623
authored
Sep 09, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now hiding budget fields when creating a sub-project
such as a SCRUM Sprint or a Ticket Container
parent
d2b6adbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
new.tcl
www/projects/new.tcl
+8
-2
No files found.
www/projects/new.tcl
View file @
7fbc6623
...
...
@@ -115,13 +115,19 @@ if {$gantt_project_with_children_p} {
# -----------------------------------------------------------
# Permissions
# -----------------------------------------------------------
set
view_finance_p
[
im_permission
$user
_id view_finance
]
set
view_budget_p
[
im_permission
$user
_id view_budget
]
set
view_budget_hours_p
[
im_permission
$user
_id view_budget_hours
]
set
add_budget_p
[
im_permission
$user
_id add_budget
]
set
add_budget_hours_p
[
im_permission
$user
_id add_budget_hours
]
if
{
""
ne
$parent
_id
}
{
set view_budget_p 0
set view_budget_hours_p 0
set add_budget_p 0
set add_budget_hours_p 0
}
set
project_exists_p 0
if
{[
info
exists project_id
]}
{
...
...
@@ -808,7 +814,7 @@ if {[form is_valid $form_id]} {
# Set the old project type. Used to detect changes in the project
# type and therefore the need to display new DynField fields in a
# second page.
!!!
# second page.
if
{
0 ==
$id
_count
}
{
set previous_project_type_id 0
set previous_project_company_id 0
...
...
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