[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6615] trunk/UI
- Subject: SF.net SVN: ledger-smb:[6615] trunk/UI
- From: ..hidden..
- Date: Fri, 24 Jan 2014 05:31:06 +0000
Revision: 6615
http://sourceforge.net/p/ledger-smb/code/6615
Author: einhverfr
Date: 2014-01-24 05:31:05 +0000 (Fri, 24 Jan 2014)
Log Message:
-----------
Updating timecard UI and related pieces slightly, in process of getting printing ready.
Modified Paths:
--------------
trunk/UI/lib/utilities.html
trunk/UI/timecards/timecard.html
Modified: trunk/UI/lib/utilities.html
===================================================================
--- trunk/UI/lib/utilities.html 2014-01-24 03:54:19 UTC (rev 6614)
+++ trunk/UI/lib/utilities.html 2014-01-24 05:31:05 UTC (rev 6615)
@@ -1,10 +1,19 @@
<?lsmb BLOCK print_options ?>
<div class="print-options"><?lsmb
+
+IF templates.size == 1;
+PROCESS input element_data = {
+ name = 'template'
+ type = 'hidden'
+ value = templates.0
+};
+ELSE;
PROCESS select element_data = {
name = "template"
options = templates
default_values = [template]
};
+END;
languages.push({});
PROCESS select element_data = {
@@ -13,12 +22,20 @@
default_values = [language]
};
+IF 0 == formats.size;
+ formats = [];
+ FOR F IN list_formats();
+ formats.push({text = F, id = F});
+ END;
+END;
+
PROCESS select element_data = {
name = "format"
options = formats
default_values = [format]
};
+printers.pushd({ text = text('screen'), id = 'screen' });
PROCESS select element_data = {
name = "media"
options = printers
Modified: trunk/UI/timecards/timecard.html
===================================================================
--- trunk/UI/timecards/timecard.html 2014-01-24 03:54:19 UTC (rev 6614)
+++ trunk/UI/timecards/timecard.html 2014-01-24 05:31:05 UTC (rev 6615)
@@ -144,13 +144,6 @@
name = 'action'
type = 'submit'
class = 'submit'
- text = text('Update')
- value = 'update_day'
- };
- PROCESS button element_data = {
- name = 'action'
- type = 'submit'
- class = 'submit'
text = text('Save')
value = 'save'
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits