ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1303
|
Sat Jul 23 16:16:10 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | Re: <img> in Display Attribute |
Stefan Ritt wrote: |
Emiliano Gabrielli wrote: | - only "Author" and "subject" is displayed (text too of course) |
That was a bug. I fixed it in CVS.
Emiliano Gabrielli wrote: | In full list mode:
- nothing changed, no conditional display is working |
What do you want? In full mode you have a multi-column display of attributes. If you display a different number of attributes for each entry, the table gets screwed up and becomes very hard to read.
BTW: Conditional attributes now also work for email notifications, so you can do for example:
Attributes = Author, Category, Email encoding, Subject
Options Email encoding = plain{1}, HTML{2}
{1} Email encoding = 1
{2} Email encoding = 2
|
I don't want to change the number of columns along different rows .. of course 
I'd like to be able to do what I explained in elog:1289 ...
not to display or not an attribute, but to be able to choose among different display of an attribute basing the choice on the value of an other attribute
look at my previous post .. I'm trieng to display an icon in the "category" attribute showing the "level" of the "problem", beeing "problem" one of the possible values of the attribute "category" itself |
1302
|
Sat Jul 23 15:46:06 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Comment | All | | Re: A new ELOG user wants to register on "127.0.0.1" | Ok, I kind of misunderstood the "-n" parameter. It is the interface to listen to, which is not necessarily the host name as seen from outside. I changed that in the following way:
- if the URL option is present, the host name is taken from there
- if the URL option is not present, elog calls gethostname()/gethostbyname() to retrieve the local host name
the host name which comes from these two possibilities is used internally in all cases where it's needed, like email notifications. |
1301
|
Fri Jul 22 23:14:23 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: <img> in Display Attribute |
Emiliano Gabrielli wrote: | - only "Author" and "subject" is displayed (text too of course) |
That was a bug. I fixed it in CVS.
Emiliano Gabrielli wrote: | In full list mode:
- nothing changed, no conditional display is working |
What do you want? In full mode you have a multi-column display of attributes. If you display a different number of attributes for each entry, the table gets screwed up and becomes very hard to read.
BTW: Conditional attributes now also work for email notifications, so you can do for example:
Attributes = Author, Category, Email encoding, Subject
Options Email encoding = plain{1}, HTML{2}
{1} Email encoding = 1
{2} Email encoding = 2
|
1300
|
Fri Jul 22 22:45:37 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | V2.6.0 | Re: hide attributes when view the logbook |
Juliana Peng wrote: | Thanks so much. But the new feature seems not working. |
Are you sure you got the latest CVS version and recompiled correctly?
I tried with following config:
[global]
port = 8080
[demo]
Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description, Main Function, Location, Memory, CPU Speed, Num CPU, Owner, Contact Name, Contact Phone, Contact Email, Bought From, Bought Date, Maintenance, Network Drop, Console Drop
Options OS = SunOs{1}, Linux{2}, Aix
{1} Show Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description
Then I added two entries, where OS = SunOS and Aix. As soon as I select SunOS, the attributes except those listed in {1} disappear. The same is true then for the single entry display. Here is the one with the Aix:

and here with SunOS:

So can you reproduce this? |
1299
|
Fri Jul 22 17:54:41 2005 |
| Juliana Peng | jpeng@yorku.ca | Request | Linux | V2.6.0 | Re: hide attributes when view the logbook |
Juliana Peng wrote: |
Stefan Ritt wrote: |
Juliana Peng wrote: | but it seems only effective when adding the new entry. All the attributes will show in logbook. Is there a way to hide some of the attributes? It would be good to let each user to choose what to see what not to see, create their own view. Can you put it on your to-do list or wishlist? |
I implemented your request and committed to CVS. Please test if it does what you want, since I did not have much time to test it. |
Thanks so much. But the new feature seems not working. If my conf is:
Options OS = SunOs{1}, Linux{2}, Aix
{1} Show Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description
When I choose linux OS, is it supposed to get only the attributes in "Show Attributes"? All the attributes show up. Or you implemented it in other way? |
Sorry, I mean choose SunOs |
1298
|
Fri Jul 22 17:21:15 2005 |
| Juliana Peng | jpeng@yorku.ca | Request | Linux | V2.6.0 | Re: hide attributes when view the logbook |
Stefan Ritt wrote: |
Juliana Peng wrote: | but it seems only effective when adding the new entry. All the attributes will show in logbook. Is there a way to hide some of the attributes? It would be good to let each user to choose what to see what not to see, create their own view. Can you put it on your to-do list or wishlist? |
I implemented your request and committed to CVS. Please test if it does what you want, since I did not have much time to test it. |
Thanks so much. But the new feature seems not working. If my conf is:
Options OS = SunOs{1}, Linux{2}, Aix
{1} Show Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description
When I choose linux OS, is it supposed to get only the attributes in "Show Attributes"? All the attributes show up. Or you implemented it in other way? |
1297
|
Fri Jul 22 08:56:20 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5.? | Re: Date in CSV and XML in UNIX time |
PJ Meyer wrote: | So what can be done to make all the dates look like dates? |
Simply upgrade to 2.6.0beta where this problem has been solved. |
1296
|
Fri Jul 22 03:15:29 2005 |
| PJ Meyer | pjm@pjmeyer.org | Question | Windows | 2.5.? | Date in CSV and XML in UNIX time | Q: How can dates be exported correctly in CSV and XML?
In windows version I'm getting the Unix seconds since 1970.
XML export:
<DATE>Wed Jun 22 08:29:58 2005</DATE>
<Date_Needed>1119384000</Date_Needed>
<Date_Added>1119470400</Date_Added>
the date record added is good and readable, the two user defined dates are Unix and not real useful in Excel.
Same behavior is the CSV file, the date record added is good, the two user defined dates are Unix seconds.
Now when E-log emails the records all the dates are good - ie readable dates.
So what can be done to make all the dates look like dates? |
|