Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2
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
1
Merge Requests
1
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-timesheet2
Commits
217fe055
Commit
217fe055
authored
Nov 23, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed bug with return URL
parent
21ceb57e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
intranet-timesheet2-procs.tcl
tcl/intranet-timesheet2-procs.tcl
+2
-2
new.adp
www/hours/new.adp
+1
-1
No files found.
tcl/intranet-timesheet2-procs.tcl
View file @
217fe055
...
...
@@ -89,7 +89,7 @@ ad_proc -public im_timesheet_project_component {user_id project_id} {
im_project_permissions
$user
_id
$project
_id view read write admin
if
{
!
[
info
exists return_url
]
}
{
set return_url
""
set return_url
"
[
ad_conn url
]
?
[
ad_conn query
]
"
}
set hours_logged
"<ul>"
...
...
@@ -121,7 +121,7 @@ ad_proc -public im_timesheet_project_component {user_id project_id} {
set log_hours_link
"<a href=/intranet-timesheet2/hours/new?project_id=
$project
_id&
[
export_url_vars return_url
]
>"
append hours_logged
"<li><font color=
\"\#
FF0000
\"
>
[
_ intranet-timesheet2.lt_Today_you_didnt_log_y
]
</font>
[
_ intranet-timesheet2.lt_Log_your_log_hours_li
]
</a>
\n
"
}
else
{
set log_hours_link
"<a href=
/intranet-timesheet2/hours/new?project_id=
$project
_id&return_url=
$return
_url
>"
set log_hours_link
"<a href=
\"
/intranet-timesheet2/hours/new?
[
export_url_vars project_id return_url
]
\"
>"
append hours_logged
"<li>
[
_ intranet-timesheet2.lt_Log_your_log_hours_li_1
]
</a>
\n
"
}
# Show the
"Work Absences"
link only to in-house staff.
...
...
www/hours/new.adp
View file @
217fe055
...
...
@@ -47,7 +47,7 @@
<% } %>
<% if { ![empty_string_p $return_url] } { %>
<li>
<a href=
$return_url
>#intranet-timesheet2.lt_Return_to_previous_pa#</a>
<a href=
"@return_url@"
>#intranet-timesheet2.lt_Return_to_previous_pa#</a>
<% } %>
</td>
</tr>
...
...
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