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

SF.net SVN: ledger-smb:[4396] trunk



Revision: 4396
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4396&view=rev
Author:   einhverfr
Date:     2012-03-07 08:04:11 +0000 (Wed, 07 Mar 2012)
Log Message:
-----------
dynatable forms obtained with GET now show URL's for re-running/emailing/etc.

Modified Paths:
--------------
    trunk/Changelog
    trunk/UI/Contact/search.html
    trunk/UI/form-dynatable.html

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2012-03-07 07:05:40 UTC (rev 4395)
+++ trunk/Changelog	2012-03-07 08:04:11 UTC (rev 4396)
@@ -10,6 +10,8 @@
 * Removed the Config::Std dependency and moved to Config::General (Chris T)
 * Improved error handling using Try::Tiny and die (Chris T)
 * Added +/- selection indicators to menu CSS (Chris T)
+* Added "dynatable.html" template that can be included in templates (Chris T)
+* Dynatable forms obtained through GET now show link back to form (Chris T)
 
 Customer/Vendor Handling 
 * Added sales tax id and license number fields for companies (Chris T)

Modified: trunk/UI/Contact/search.html
===================================================================
--- trunk/UI/Contact/search.html	2012-03-07 07:05:40 UTC (rev 4395)
+++ trunk/UI/Contact/search.html	2012-03-07 08:04:11 UTC (rev 4396)
@@ -12,7 +12,7 @@
 <?lsmb entity_type = 'Unsupported' -?>
 <?lsmb END -?>
 <?lsmb title = text("$entity_type Search") # " -?>
-<form method="post" action="<?lsmb script ?>">
+<form method="get" action="<?lsmb script ?>">
 <?lsmb INCLUDE input element_data = {
 	type = "hidden"
 	name = "account_class"

Modified: trunk/UI/form-dynatable.html
===================================================================
--- trunk/UI/form-dynatable.html	2012-03-07 07:05:40 UTC (rev 4395)
+++ trunk/UI/form-dynatable.html	2012-03-07 08:04:11 UTC (rev 4396)
@@ -15,11 +15,12 @@
 		}; END ?>
 <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
 </form>
-<?lsmb 
-text('If you would like to access this report again, please try this URL')
-?>
+<?lsmb IF ENVARS.QUERY_STRING.defined;
+    text('If you would like to access this report again, please try this URL')
+?>:<br />
 <?lsmb url = 'http://' _ ENVARS.SERVER_NAME _ ENVARS.SCRIPT_NAME 
-           _ ENVARS.QUERY_STRING ?>
+           _ '?' _ ENVARS.QUERY_STRING _ '&company=' _ form.company ?>
 <a href="<?lsmb url ?>"><?lsmb url ?></a>
+<?lsmb END ?>
 </body>
 </html>

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