<p>This page is for giving Jason Woofenden work and figuring out the details of the associated tasks, costs and priorities.</p>
- <p><a href="tasks?tasks_new=1">Add a task</a> • <a href="tasks?tasks_new_bug=1">Report a problem</a><!--~su_link start~--> • <a href="su">Switch login</a><!--~end~--><!-- • <a href="pay">Pay Jason</a>--></p>
+ <p><a href="tasks?tasks_new=1">Add a task</a> • <!--~not_contractor_links start~--><a href="tasks?tasks_new_bug=1">Report a problem</a><!-- • <a href="pay">Pay Jason</a>--><!--~end~--><!--~contractor_links start~--><a href="people">Manage accounts</a> • <a href="su">Switch login</a><!--~end~--></p>
<!--~needs_attention_header start~-->
<h3>Tasks needing your attention:</h3>
}
if(logged_in_as_contractor()) {
- tem_show('su_link');
+ tem_show('contractor_links');
tem_show('needs_attention_header');
$GLOBALS['unpaid_totals'] = array();
totals_summary($GLOBALS['unpaid_totals']);
task_summary('finished_paid', 'where state=%i && paid = 1 order by finished_at desc limit 20', TASK_FINISHED);
} else {
+ tem_show('not_contractor_links');
if(db_count('tasks', 'where client_id=%i && (state=%i || state=%i || state=%i || state=%i)', $client_id, TASK_DRAFT, TASK_NEEDS_CLARIFICATION, TASK_NEEDS_GO_AHEAD, TASK_NEEDS_TESTING)) {
tem_show('needs_attention_header');
task_summary('needs_approval', 'where client_id=%i && (state=%i || state=%i) order by id', $client_id, TASK_NEEDS_GO_AHEAD, TASK_NEEDS_TESTING);