JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / tasks.html
index da0188e..4fb5987 100644 (file)
@@ -7,84 +7,86 @@
 </head>
 
 <body>
-  <!--~main_body start~-->
+  <!--~$body show {~-->
 
-<!--~display_body start~-->
-  <h3><!--~normal_title start~-->Task #~task_id~<!--~end~--><!--~bug_title start~-->Problem Report<!--~end~--> "~title.html~"</h3>
+<!--~display_body {~-->
+  <h3><!--~normal_title {~-->Task #~task_id~<!--~}~--><!--~bug_title {~-->Problem Report<!--~}~--> "~title html~"</h3>
 
 
-  <p><strong>Title</strong>: ~title.html~</p>
+  <p><strong>Title</strong>: ~title html~</p>
 
-  <p><strong>Status</strong>: ~state.html~<!--~finished_at_section start~--> (finished on ~finished_at.mmddyyyy~)<!--~end~--><!--~tested_at_section start~--> (tested on ~tested_at.mmddyyyy~)<!--~end~--></p>
+  <p><strong>Status</strong>: ~state html~<!--~finished_at_section {~--> (finished on ~finished_at mmddyyyy~)<!--~}~--><!--~tested_at_section {~--> (tested on ~tested_at mmddyyyy~)<!--~}~--></p>
 
-  <p><strong>URL</strong>: <a target="_new" href="~url.attr~">~url.html~</a></p>
+  <p><strong>URL</strong>: <a target="_new" href="~url attr~">~url html~</a></p>
 
   <p style="padding-left: 20px; text-indent: -20px"><strong>Narrative</strong>:<br />
-  ~description.htmlbrtab~</p>
+  ~description htmlbrtab~</p>
 
-  <!--~price_row start~--><p><strong>Price</strong>: ~price.money~<!--~marked_paid start~--> &nbsp;&nbsp;<strong>Paid</strong><!--~end~--></p><!--~end~-->
+  <!--~price_row {~--><p><strong>Price</strong>: ~price money~<!--~marked_paid {~--> &nbsp;&nbsp;<strong>Paid</strong><!--~}~--></p><!--~}~-->
 
-  <!--~mark_paid_link start~--><p><a href="tasks?tasks_mark_paid_id=~task_id.attr~">Mark as paid</a></p><!--~end~-->
+  <!--~mark_paid_link {~--><p><a href="tasks?tasks_mark_paid_id=~task_id attr~">Mark as paid</a></p><!--~}~-->
 
-  <!--~approve_price_link start~--><p><a href="tasks?tasks_approve_price_id=~task_id.attr~">Approve price</a></p><!--~end~-->
+  <!--~approve_price_link {~--><p><a href="tasks?tasks_approve_price_id=~task_id attr~">Approve price</a></p><!--~}~-->
 
-  <!--~normal_edit_link start~--><p><a href="tasks?tasks_edit_id=~task_id.attr~">Edit this task</a></p><!--~end~-->
-  <!--~warning_edit_link start~--><p><a href="tasks?tasks_edit_id=~task_id.attr~" onclick="return confirm('Editing this task will invalidate the price, proceed anyway?')">Edit this task</a></p><!--~end~-->
+  <!--~normal_edit_link {~--><p><a href="tasks?tasks_edit_id=~task_id attr~">Edit this task</a></p><!--~}~-->
+  <!--~warning_edit_link {~--><p><a href="tasks?tasks_edit_id=~task_id attr~" onclick="return confirm('Editing this task will invalidate the price, proceed anyway?')">Edit this task</a></p><!--~}~-->
 
-  <!--~working_link start~--><p><a href="tasks?tasks_working_id=~task_id.attr~">I'm starting on this now</a>.</p><!--~end~-->
+  <!--~working_link {~--><p><a href="tasks?tasks_working_id=~task_id attr~">I'm starting on this now</a></p><!--~}~-->
 
-  <!--~needs_testing_link start~--><p><a href="tasks?tasks_needs_testing_id=~task_id.attr~">Mark this task as finished (request testing)</a>.</p><!--~end~-->
+  <!--~hold_link {~--><p><a href="tasks?tasks_hold_id=~task_id attr~">Place this task on hold</a></p><!--~}~-->
 
-  <!--~finished_link start~--><p>Please test everything in the narrative! If everything is working, <a href="tasks?tasks_finished_id=~task_id.attr~">Mark this task as finished</a> Otherwise please e-mail or call Jason.</p><!--~end~-->
+  <!--~needs_testing_link {~--><p><a href="tasks?tasks_needs_testing_id=~task_id attr~">Mark this task as finished (request testing)</a></p><!--~}~-->
+
+  <!--~finished_link {~--><p>Please test everything in the narrative! If everything is working, <a href="tasks?tasks_finished_id=~task_id attr~">Mark this task as finished</a> Otherwise please e-mail or call Jason.</p><!--~}~-->
 
   <p><a href="./">Back</a></p>
-<!--~end~-->
+<!--~}~-->
 
-<!--~edit_body start~-->
-  <h3><!--~bug_msg start~-->Report a problem<!--~end~--><!--~new_msg start~-->Add a new task<!--~end~--><!--~edit_msg start~-->Edit task #~tasks_edit_id~ "~title.html~"<!--~end~--></h3>
+<!--~edit_body {~-->
+  <h3><!--~bug_msg {~-->Report a problem<!--~}~--><!--~new_msg {~-->Add a new task<!--~}~--><!--~edit_msg {~-->Edit task #~tasks_edit_id~ "~title html~"<!--~}~--></h3>
 
-  <form action="tasks" method="post"><!--~editing start~--><input type="hidden" name="tasks_edit_id" value="~tasks_edit_id.attr~" /><!--~end~-->
+  <form action="tasks" method="post"><!--~editing {~--><input type="hidden" name="tasks_edit_id" value="~tasks_edit_id attr~" /><!--~}~-->
     <table cellspacing="0" cellpadding="4" border="0" summary="">
 
-<!--~client_row start~-->
-      <tr><td class="caption">Client: </td><td class="field"><select name="client_id"><option value="">Choose One...</option><!--~client_id.options~--></select></td></tr>
-<!--~end~-->
+<!--~client_row {~-->
+      <tr><td class="caption">Client: </td><td class="field"><select name="client_id"><option value="">Choose One...</option><!--~client_id options~--></select></td></tr>
+<!--~}~-->
 
-      <tr><td class="caption">Title: </td><td class="field"><input type="text" size="40" name="title" value="~title.attr~" /></td></tr>
+      <tr><td class="caption">Title: </td><td class="field"><input type="text" size="40" name="title" value="~title attr~" /></td></tr>
 
-      <tr><td class="caption">URL: </td><td class="field"><input type="text" size="40" name="url" value="~url.attr~" /></td></tr>
+      <tr><td class="caption">URL: </td><td class="field"><input type="text" size="40" name="url" value="~url attr~" /></td></tr>
 
 
       <tr><td colspan="2">
-      <!--~fixme_instructions start~-->The narrative below contains "FIXME". This is Jason's way of marking the places in the narrative that need your attention. Please update these parts of the narrative to be more complete/specific and remove the "FIXME".<!--~end~-->
-      <!--~set_price_instructions start~-->Mark trouble spots with "FIXME".<!--~end~-->
-      <!--~normal_instructions start~-->Below, write as if the change/addition you would like has already been implemented. Write a first-person narrative with the specifics of what you do and what you see as a result. <a target="_new" href="narrative_example">See an example</a>.<!--~end~-->
-      <!--~bug_instructions start~-->Below, describe in detail 1) what you do, 2) what you expect to see, 3) what you see instead<!--~end~-->
+      <!--~fixme_instructions {~-->The narrative below contains "FIXME". This is Jason's way of marking the places in the narrative that need your attention. Please update these parts of the narrative to be more complete/specific and remove the "FIXME".<!--~}~-->
+      <!--~set_price_instructions {~-->Mark trouble spots with "FIXME".<!--~}~-->
+      <!--~normal_instructions {~-->Below, write as if the change/addition you would like has already been implemented. Write a first-person narrative with the specifics of what you do and what you see as a result. <a target="_new" href="narrative_example">See an example</a>.<!--~}~-->
+      <!--~bug_instructions {~-->Below, describe in detail 1) what you do, 2) what you expect to see, 3) what you see instead<!--~}~-->
       </td></tr>
-      <tr><td colspan="2" class="field"><textarea rows="20" cols="50" name="description">~description.html~</textarea></td></tr>
-<!--~price_field start~-->
-      <tr><td class="caption">Price: </td><td class="field"><input type="text" size="10" name="price" value="~price.attr~" /></td></tr>
-<!--~end~-->
-<!--~contractor_submits start~-->
+      <tr><td colspan="2" class="field"><textarea rows="20" cols="50" name="description">~description html~</textarea></td></tr>
+<!--~price_field {~-->
+      <tr><td class="caption">Price: </td><td class="field"><input type="text" size="10" name="price" value="~price attr~" /></td></tr>
+<!--~}~-->
+<!--~contractor_submits {~-->
       <tr><td colspan="2"><input type="submit" name="save_price" value="Save With Price" /> (directly to queue if &lt;= tiny)</td></tr>
       <tr><td colspan="2"><input type="submit" name="save_price_no_tiny" value="Await Price Approval" /> (even if it's &lt;= tiny agreement)</td></tr>
       <tr><td colspan="2"><input type="submit" name="save_draft" value="Save As Draft" /></td></tr>
       <tr><td colspan="2"><input type="submit" name="needs_clarification" value="Needs Clarification" /></td></tr>
-<!--~end~-->
-<!--~normal_submits start~-->
+<!--~}~-->
+<!--~normal_submits {~-->
       <tr><td class="submit_row" colspan="2"><input type="submit" name="request_price" value="Save and Request Price" /></td></tr>
       <tr><td class="submit_row" colspan="2"><input type="submit" name="save_draft" value="Save Draft" /></td></tr>
-<!--~end~-->
-<!--~bug_submit start~-->
+<!--~}~-->
+<!--~bug_submit {~-->
       <tr><td class="submit_row" colspan="2"><input type="submit" name="save_bug" value="Send Problem Report" /></td></tr>
-<!--~end~-->
+<!--~}~-->
     </table>
   </form>
 
   <p><a href="./">Cancel</a></p>
-<!--~end~-->
+<!--~}~-->
 
 
-<!--~end~-->
+<!--~}~-->
 </body>
 </html>