From: <th...@us...> - 2004-01-20 21:23:13
|
Update of /cvsroot/wqdata/wqdata4/apps/cpu/src/webapp/pages/menu In directory sc8-pr-cvs1:/tmp/cvs-serv5288/apps/cpu/src/webapp/pages/menu Modified Files: staff.vm unit.vm Log Message: + Adjustments to menus and actions to honor security constraints. Index: staff.vm =================================================================== RCS file: /cvsroot/wqdata/wqdata4/apps/cpu/src/webapp/pages/menu/staff.vm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** staff.vm 7 Jan 2004 13:26:46 -0000 1.1.1.1 --- staff.vm 20 Jan 2004 21:23:10 -0000 1.2 *************** *** 10,14 **** <ul> <li> ! Search in-house and issued permits. </li> <li> --- 10,14 ---- <ul> <li> ! Search in-house and issued permits </li> <li> Index: unit.vm =================================================================== RCS file: /cvsroot/wqdata/wqdata4/apps/cpu/src/webapp/pages/menu/unit.vm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** unit.vm 7 Jan 2004 13:26:46 -0000 1.1.1.1 --- unit.vm 20 Jan 2004 21:23:10 -0000 1.2 *************** *** 9,46 **** </p> <ul> - ## :TODO: if $portal.isUserInRole("secretary,engineer,supervisor) (link) <li> ! #if("Main"==$vmChoice) ! Search Construction Permits<br /> #else <a href="${link.setAction("/unit/Main")}">Search Construction Permits</a><br /> #end - <font class="note">(Available to Unit Secretary, Engineers, and Supervisors.)</font> </li> <li> #if("Edit"==$vmChoice) ! Add New Permit<br /> #else ! <a href="${link.setAction("/unit/Add")}">Add New Permit</a><br /> #end ! <font class="note">(Available to Unit Secretary.)</font> </li> <li> #if("User"==$vmChoice) ! Print My Tracking List<br /> #else ! <a href="${link.setAction("/unit/User")}">Print My Tracking List</a><br /> #end ! <font class="note">This list will contain only those permits assigned to ${user}</font> ! <font class="note">(Available to Unit Secretary, Engineers, and Supervisors.)</font><br /> </li> <li> #if("Track"==$vmChoice) ! Print Construction Permit Tracking List<br /> #else ! <a href="${link.setAction("/unit/Track")}">Print Construction Permit Tracking List</a><br /> #end ! <font class="note">List contains all construction permits in house</font> ! <font class="note">(Available to Unit Secretary, Engineers, and Supervisors.)</font><br /> </li> <li> --- 9,44 ---- </p> <ul> <li> ! #if("Search"==$vmChoice) ! Search in-house and issued permits #else <a href="${link.setAction("/unit/Main")}">Search Construction Permits</a><br /> #end </li> <li> #if("Edit"==$vmChoice) ! Add New Permit ! #elseif($request.isUserInRole("cpu.clerk")) ! <a href="${link.setAction("/unit/Add")}">Add New Permit</a> #else ! <font class="">Add New Permit</font> #end ! <br /><font class="note">Available to the unit secretary only.</font> </li> <li> #if("User"==$vmChoice) ! Print My Tracking List #else ! <a href="${link.setAction("/unit/User")}">Print My Tracking List</a> #end ! <br /><font class="note">This list will contain only those permits assigned to ${user}</font> </li> <li> #if("Track"==$vmChoice) ! Print Construction Permit Tracking List #else ! <a href="${link.setAction("/unit/Track")}">Print Construction Permit Tracking List</a> #end ! <br /><font class="note">List contains all construction permits pending in house</font> </li> <li> |