[WTF CVS] wtf/templates/pages/input tracking.tmpl,1.4,1.5
Brought to you by:
gryphonshafer
|
From: Gryphon S. <gry...@us...> - 2006-12-21 16:36:15
|
Update of /cvsroot/wtf-tracker/wtf/templates/pages/input In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19349/templates/pages/input Modified Files: tracking.tmpl Log Message: Patch to add feature request 1618511: Populate Yesterday's Input Data Index: tracking.tmpl =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/templates/pages/input/tracking.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** tracking.tmpl 2 Dec 2006 22:37:50 -0000 1.4 --- tracking.tmpl 21 Dec 2006 16:36:04 -0000 1.5 *************** *** 9,12 **** --- 9,16 ---- <input type="hidden" name="date" value="<tmpl_var name="date">" /> <input type="hidden" name="data" value="" /> + <input type="hidden" name="copy_last_data" value="" /> + <tmpl_unless name="show_copy_last_data"> + <input type="hidden" name="copy_last_data_done" value="on" /> + </tmpl_unless> <p> *************** *** 19,22 **** --- 23,32 ---- </tmpl_loop> </select> + <tmpl_if name="show_copy_last_data"> + <input type="button" value="Copy Last Data" + title="Copy the data entered from the previous entry" + onclick="copyLastData( this.form )" + /> + </tmpl_if> </p> *************** *** 117,121 **** </tmpl_if> ! <p style="text-align: right"><input type="submit" value="Save" /></p> </form> --- 127,134 ---- </tmpl_if> ! <p style="text-align: right"> ! <input type="button" value="Reset" onclick="resetTrackingForm( this.form )" /> ! <input type="submit" value="Save" /> ! </p> </form> |