Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   2 questions :: different colors in list view based on "type" + change verbage of "type", posted by dale cooper on Fri Aug 8 00:44:26 2008 
    icon2.gif   Re: 2 questions :: different colors in list view based on "type" + change verbage of "type", posted by Yoshio Imai on Fri Aug 8 14:20:27 2008 
       icon2.gif   Re: 2 questions :: different colors in list view based on "type" + change verbage of "type", posted by dale cooper on Mon Aug 11 06:56:56 2008 
Message ID: 65948     Entry time: Mon Aug 11 06:56:56 2008     In reply to: 65945
Icon: Reply  Author: dale cooper  Author Email: agentdcooper@gmail.com 
Category: Question  OS: All  ELOG Version: 2.7.4x 
Subject: Re: 2 questions :: different colors in list view based on "type" + change verbage of "type" 
PERFECT, you answered my questions EXACTLY with what I am looking for! thanks soo much!
agentdcooper


Yoshio Imai wrote:

dale cooper wrote:
I'd love to display in the LIST VIEW (full, summary, or threaded views) different color's based on which TYPE was selected...

You can achieve this by using a "style" directive for this attribute. E.g. if your attribute is called "Shift" and entries with value "Day" should be green, value "Swing" should be blue, you should add
Style Shift Day = background-color:green
Style Shift Swing = background-color:blue
(and so on) to the config file.



Quote:
really I am just wondering if I can change the verbage that ELOG is using for the term TYPE? Is that doable?

As long as I am not missing a key point in your problem, you should be able to define the names of your logbook attributes simply with the "Attribute" directive. So, if you want the users to enter the shift and the name of the shift leader, you would put a line
Attributes = Shift, Shift leader
Options Shift = Day, Swing, ... <and so on>
Options Shift leader = Mike, Edward, John, ... <and so on>
and the logbook display should correctly show "Shift" and "Shift leader" in the header line of each entry ...
ELOG V3.1.5-fe60aaf