CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Red status
Pages: [1]

Author Topic: Red status  (Read 1776 times)

happyHacker

  • Guest
Red status
March 31, 2009, 09:27:18 am
If I set a case record to "Not Required" it will still turn red. As red is supposed to indicate and urgent status is there a way of making this some other colour? It would appear the CSS only allows class="status-overdue erow" (my example class given to Not Required), or class="status-completed". Of course some of the others e.g. Closed, could do with other than red.
« Last Edit: March 31, 2009, 09:34:40 am by happyHacker »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Red status
March 31, 2009, 05:47:51 pm
We also use status-pending for the Scheduled status (which is "green"). This is probably an easy patch if you want to provide a different color / style for Not Required. Check out CRM/Case/BAO/Case.php around line 845 for a starter.
Protect your investment in CiviCRM by  becoming a Member!

happyHacker

  • Guest
Re: Red status
April 01, 2009, 10:26:34 am
Thanks, it occurs to me that further logic is needed if it is only the missed date is the reason an item goes red. Also too many colours would be counter productive. Maybe it's too early for someone to have actually made any changes in this area but. I'm not really familiar with PHP and certainly not the architecture of Drupal. Maybe the developers could take this on board?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Red status
April 01, 2009, 10:48:25 am
I've added a note about this to the CiviCase Phase 2 Candidates list:
http://wiki.civicrm.org/confluence/display/CRM/CiviCase+-+Phase+2+Candidates
Protect your investment in CiviCRM by  becoming a Member!

happyHacker

  • Guest
Re: Red status
April 07, 2009, 02:07:26 am
Thanks, I've seen the proposal (althlough it is "LOW"!). Consider that when a case worker who has many open cases and logs in am, does not really want to sort the urgent cases from the non-urgent - rather annoying - so I would consider this medium at least. You could consider NOT colouring the text but perhaps the background to the cell(s)/rows. Consider also the accessibility issues with text colours and backgrounds e.g. contrast. Flashing rows not acceptable. Configuration should allow for colour changes against a palette but at least CSS styling via the stylesheet.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Red status

This forum was archived on 2017-11-26.