wtf-tracker-cvs Mailing List for Work Tracking Facilitator (Page 6)
Brought to you by:
gryphonshafer
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(33) |
Dec
(50) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(17) |
Feb
|
Mar
(19) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gryphon S. <gry...@us...> - 2006-10-27 22:34:55
|
Update of /cvsroot/wtf-tracker/wtf/templates/pages/reports In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv2283/templates/pages/reports Modified Files: team_view.tmpl Log Message: Changes to support the creation of 'login as' functionality; managers with this new authz can login as one of their employees Index: team_view.tmpl =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/templates/pages/reports/team_view.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** team_view.tmpl 25 Oct 2006 16:39:58 -0000 1.3 --- team_view.tmpl 27 Oct 2006 22:34:51 -0000 1.4 *************** *** 92,96 **** <h4 class="tight"><tmpl_var name="team"></h4> <tmpl_loop name="employees"> ! <h5 class="indent with_space"><tmpl_var name="employee"></h5> <tmpl_if name="work_days"> <table class="tabular indent_more"> --- 92,111 ---- <h4 class="tight"><tmpl_var name="team"></h4> <tmpl_loop name="employees"> ! ! <h5 class="indent with_space"> ! <tmpl_var name="employee"> ! <tmpl_if name="login_as"> ! <span class="login_as"> ! (<a ! title="Login as <tmpl_var name="employee" escape="html">..." ! href="javascript:loginAs(<tmpl_var ! name="employee_id">,'<tmpl_var ! name="employee" escape="url">','<tmpl_var ! name="root_url">/action/admin/loginas?id=<tmpl_var ! name="employee_id">')">Login as...</a>) ! </span> ! </tmpl_if> ! </h5> ! <tmpl_if name="work_days"> <table class="tabular indent_more"> |
From: Gryphon S. <gry...@us...> - 2006-10-27 22:34:55
|
Update of /cvsroot/wtf-tracker/wtf/static In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv2283/static Modified Files: general.css tracking.js Log Message: Changes to support the creation of 'login as' functionality; managers with this new authz can login as one of their employees Index: general.css =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/static/general.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** general.css 25 Oct 2006 16:39:58 -0000 1.3 --- general.css 27 Oct 2006 22:34:51 -0000 1.4 *************** *** 60,63 **** --- 60,76 ---- } + span.login_as { + font-weight: normal; + font-size: 8pt; + } + + span.login_as a { + text-decoration: none; + } + + span.login_as a:hover { + text-decoration: underline; + } + /* Navigation Bar (and similar menues) */ Index: tracking.js =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/static/tracking.js,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** tracking.js 18 Oct 2006 16:52:50 -0000 1.1.1.1 --- tracking.js 27 Oct 2006 22:34:51 -0000 1.2 *************** *** 364,367 **** --- 364,375 ---- } + function loginAs( employeeId, employeeName, url ) { + if ( confirm( + "Are you sure you want to login as " + employeeName + "?\n" + + "All permissions, access, data, and views will change\n" + + "to what this user sees." + ) ) document.location.href = url; + } + function verifyAdminCheck(thisCheck) { if ( thisCheck.checked ) { |