[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4422] branches/1.3



Revision: 4422
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4422&view=rev
Author:   einhverfr
Date:     2012-03-09 08:07:56 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
Adding link to user management page from user permissions page.  I am not currently checking perms on this since currently user management requires an ability to add/edit employees.  In future versions we probably want to rethink that workflow.

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/UI/Admin/edit_user.html

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-03-09 05:28:29 UTC (rev 4421)
+++ branches/1.3/Changelog	2012-03-09 08:07:56 UTC (rev 4422)
@@ -9,6 +9,7 @@
 * Non-billable information now retained in db for timecards (Chris T)
 * Corrected character encoding issue with backup scripts (Chris T)
 * Changes in the single payment UI to minimize mouse movements (Erik H)
+* Adding link to employee edit screen from user page (h/t H Sorli) (Chris T)
 
 Changelog for 1.3.12
 * Corrected processing of <?lsmb tags in order/invoice numbers (Chris T)

Modified: branches/1.3/UI/Admin/edit_user.html
===================================================================
--- branches/1.3/UI/Admin/edit_user.html	2012-03-09 05:28:29 UTC (rev 4421)
+++ branches/1.3/UI/Admin/edit_user.html	2012-03-09 08:07:56 UTC (rev 4422)
@@ -146,6 +146,11 @@
         <button type="submit" value="save_user"><?lsmb text('Save User') ?>
            <?lsmb END ?>
         </button>
+    <?lsmb IF user.employee.entity_id;
+              e_id = user.employee.entity_id ?>
+       <a href="employee.pl?action=edit&entity_id=<?lsmb e_id ?>">[<?lsmb text('Edit') 
+       ?>]</a>
+    <?lsmb END ?> 
     </form>
     <?lsmb IF user.user.username AND user.user.import != 1 ?>
         <form name="groups" method="POST" action="admin.pl">

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.