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
d2b6adbe
Commit
d2b6adbe
authored
Sep 09, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added pretty links to create SCRUM Sprint and Ticket Containers
parent
7d7e98e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
view.tcl
www/projects/view.tcl
+12
-0
No files found.
www/projects/view.tcl
View file @
d2b6adbe
...
...
@@ -142,6 +142,18 @@ set admin_html_content ""
# You should not assume that the subproject has the same project_type_id as the old project. If at all we should make this a switch.
if {$admin} {
append admin_html_content "<li><A href=\"[export_vars -base "/intranet/projects/new" {{parent_id $project_id}}]\">[_ intranet-core.Create_a_Subproject]</A><br></li>\n"
set scrum_sprint_type_id [im_project_type_scrum]
set scrum_project_name "$project_name SCRUM Sprint"
if {[db_string scrum_p "select count(*) from im_categories where category_id = :scrum_sprint_type_id and enabled_p = 't'"]} {
append admin_html_content "<li><A href=\"[export_vars -base "/intranet/projects/new" {{parent_id $project_id} {project_type_id $scrum_sprint_type_id} {project_name $scrum_project_name}}]\">[lang::message::lookup "" intranet-core.Create_a_SCRUM_Sprint "Create a new SCRUM Sprint"]</A><br></li>\n"
}
set ticket_container_type_id [im_project_type_ticket_container]
set ticket_project_name "$project_name Ticket Container"
if {[db_string ticket_p "select count(*) from im_categories where category_id = :ticket_container_type_id and enabled_p = 't'"]} {
append admin_html_content "<li><A href=\"[export_vars -base "/intranet/projects/new" {{parent_id $project_id} {project_type_id $ticket_container_type_id} {project_name $ticket_project_name}}]\">[lang::message::lookup "" intranet-core.Create_a_Ticket_Container "Create a new Ticket Container"]</A><br></li>\n"
}
}
# Fraber 130121: NEVER enable nuke.
...
...
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