From 68f2db1c72a71b10afa99f4869e266d0f6d6ee85 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 11 Mar 2009 21:37:24 -0400 Subject: [PATCH] improved contractor nav links: removed 'report a bug', added 'manage accounts'. Also people listing links back to main --- index.html | 2 +- index.php | 3 ++- people.html | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 24f954c..eb1236d 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@

This page is for giving Jason Woofenden work and figuring out the details of the associated tasks, costs and priorities.

-

Add a taskReport a problemSwitch login

+

Add a taskReport a problemManage accountsSwitch login

Tasks needing your attention:

diff --git a/index.php b/index.php index d8eb411..ab4ff12 100644 --- a/index.php +++ b/index.php @@ -123,7 +123,7 @@ function _index_main() { } if(logged_in_as_contractor()) { - tem_show('su_link'); + tem_show('contractor_links'); tem_show('needs_attention_header'); $GLOBALS['unpaid_totals'] = array(); @@ -138,6 +138,7 @@ function _index_main() { 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); diff --git a/people.html b/people.html index abcb0e8..2b1ecca 100644 --- a/people.html +++ b/people.html @@ -56,6 +56,8 @@

[Add a new record]

+ +

Back to main page

-- 1.7.10.4