Re: subject line bug on resumit elog entries as new?, posted by David Pilgram on Tue Jun 9 16:17:06 2015
|
Hi Stefan,
I see that you've updated the elog running this forum today, 5 versions after you reported fixing the "A new elog entry has been entered" and "An old elog entry has been updated" issue. But the emails coming out are still all of the "An old elog entry...", rather than "A new..."
David.
Stefan Ritt wrote: |
I fixed both issues, now resubmitting an entry or submitting a new entry both yields "New LEOG entry".
Jacky Li wrote: |
Hi,
I updated an old elog entry and resubmit it as new by checking the box resubmit as new. Does the subject line should said it is a "New ELOG entry" instead of "Updated ELOG entry"? Thank you.
Also when some people submit a new elog, the subject line is "Updated ELOG entry". This is a bit odd. I can't reproduce that bug when I did my test.
Jacky
|
|
|
Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Tue Jun 9 16:46:48 2015
|
Any better now?
David Pilgram wrote: |
Hi Stefan,
I see that you've updated the elog running this forum today, 5 versions after you reported fixing the "A new elog entry has been entered" and "An old elog entry has been updated" issue. But the emails coming out are still all of the "An old elog entry...", rather than "A new..."
|
|
Re: subject line bug on resumit elog entries as new?, posted by David Pilgram on Tue Jun 9 16:51:55 2015
|
Hi Stefan,
The email sent from here had he expected (correct) message "A new ELOG entry..."
Thanks, David.
Stefan Ritt wrote: |
Any better now?
David Pilgram wrote: |
Hi Stefan,
I see that you've updated the elog running this forum today, 5 versions after you reported fixing the "A new elog entry has been entered" and "An old elog entry has been updated" issue. But the emails coming out are still all of the "An old elog entry...", rather than "A new..."
|
|
|
Re: subject line bug on resumit elog entries as new?, posted by Jacky Li on Tue Jun 9 22:31:59 2015
|
Hi,
I compiled the 3.1.0-2 source rpm from the download area. Unless there is a minor release, I think the problem is still there. Thank you.
Jacky
David Pilgram wrote: |
Hi Stefan,
The email sent from here had he expected (correct) message "A new ELOG entry..."
Thanks, David.
Stefan Ritt wrote: |
Any better now?
David Pilgram wrote: |
Hi Stefan,
I see that you've updated the elog running this forum today, 5 versions after you reported fixing the "A new elog entry has been entered" and "An old elog entry has been updated" issue. But the emails coming out are still all of the "An old elog entry...", rather than "A new..."
|
|
|
|
Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Wed Jun 10 08:13:50 2015
|
Making a new release takes me about an hour (compile under Windows, Linux, Mac OSX), so I don't do it for each little change. If you want to follow the development closely, I recommend that you learn to compile elog from the GIT repository. It's pretty easy: a git pull, followed by a make and make install.
If you want to see which changes are already in the version you are running, look at the 7 digit GIT hash at the bottom of each elog page and compare it with the bitbucket repository:

Jacky Li wrote: |
Hi,
I compiled the 3.1.0-2 source rpm from the download area. Unless there is a minor release, I think the problem is still there. Thank you.
Jack
|
|
Re: Formatting multiple datetime entries, posted by Stefan Ritt on Wed Jun 10 11:52:47 2015
|
Edmund Hertle wrote: | Hey
in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.
Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?
Example:Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
|
Ok, implemented in the current version. |
Re: Formatting multiple datetime entries, posted by Neal Grafton on Wed Jun 10 12:48:41 2015
|
Stefan Ritt wrote: |
Edmund Hertle wrote: | Hey
in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.
Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?
Example:Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
|
Ok, implemented in the current version. |
I can use that....
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
Re: Formatting multiple datetime entries, posted by Stefan Ritt on Wed Jun 10 12:52:48 2015
|
Neal Grafton wrote: |
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
Nope. The only way to do that is to use a scrip on the server (see elog:67876 for example), or use JavaScript. With "Top Text = <file>" you can "sneak in" some JavaScript code which massages the DOM tree and computes everything you want.
/Stefan |