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

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



Revision: 3743
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3743&view=rev
Author:   einhverfr
Date:     2011-09-24 23:07:13 +0000 (Sat, 24 Sep 2011)
Log Message:
-----------
Closing bug 3413441

Modified Paths:
--------------
    branches/1.3/UI/lib/elements.html
    branches/1.3/UI/setup/new_user.html
    branches/1.3/sql/modules/Assets.sql

Modified: branches/1.3/UI/lib/elements.html
===================================================================
--- branches/1.3/UI/lib/elements.html	2011-09-24 22:07:14 UTC (rev 3742)
+++ branches/1.3/UI/lib/elements.html	2011-09-24 23:07:13 UTC (rev 3743)
@@ -11,7 +11,7 @@
 
   #file
   file_defaults = {
-    size => '60'
+    size = '60'
   }
 
   #password
@@ -59,6 +59,7 @@
 	      CASE ['radio'];
 	        input_type_keys = input_keys.merge(['checked']);
 	      CASE ['password'];
+                element_data.type = 'password';
 	        input_defaults = password_defaults;
 	      CASE 'text';
 	        input_type_keys = input_keys.merge(['maxlength', 'readonly']);

Modified: branches/1.3/UI/setup/new_user.html
===================================================================
--- branches/1.3/UI/setup/new_user.html	2011-09-24 22:07:14 UTC (rev 3742)
+++ branches/1.3/UI/setup/new_user.html	2011-09-24 23:07:13 UTC (rev 3743)
@@ -20,12 +20,9 @@
 } ?>
 </div>
 <div class="input_row">
-<?lsmb INCLUDE input element_data = {
-                            name  = 'password'
-                            type  = 'password'
-                           label  = text('Password')
-                            class = 'password'
-} ?>
+<label id="password-label" for="password" class="password"><?lsmb 
+text('Password') ?></label>
+<input name='password' type='password' class = 'password' size='60' />
 </div>
 <div class="input_row">
 <label><?lsmb text('Import') ?></label>

Modified: branches/1.3/sql/modules/Assets.sql
===================================================================
--- branches/1.3/sql/modules/Assets.sql	2011-09-24 22:07:14 UTC (rev 3742)
+++ branches/1.3/sql/modules/Assets.sql	2011-09-24 23:07:13 UTC (rev 3743)
@@ -656,6 +656,7 @@
      JOIN asset_dep_method adm ON (adm.id = ac.method)
 LEFT JOIN asset_report_line rl ON (ai.id = rl.asset_id)
 LEFT JOIN asset_report r on (rl.report_id = r.id)
+    WHERE r.approved_at IS NOT NULL
  GROUP BY ai.id, ai.tag, ai.description, ai.start_depreciation, ai.purchase_date,
           adm.short_name, ai.usable_life, ai.purchase_value, salvage_value
    HAVING (NOT 2 = ANY(as_array(r.report_class))) 

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