ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68574
|
Wed Feb 8 09:34:39 2017 |
| Christine Quicot | c.quicot@free.fr | Question | Linux | commit a6e5962 | Re: Is it possible change content of the notifying mail content (attachements...) ? |
Hello,
I'm sorry but that's a part of the manual I've read many times, and I'm not interested in changing the subject of the email, but only body and attachements.
I guess that if I didn't find these answers in the manual, it's because the answer for both questions is no ?
Thank you
Stefan Ritt wrote: |
Please look in the manual under "Email Format" and "Use Email Subject".
Christine Quicot wrote: |
Hello all,
I would like to configure the email that is sent to notify users, when an entry is submitted:
- Is it possible to attach to the mail the files attached to the entry ?
- Is it possible to configure a string (with entry keywords) that will appear in the mail content instead of the default content ?
Thank you!
Christine
|
|
|
68573
|
Tue Feb 7 18:54:00 2017 |
| Stefan Ritt | nder stefan.ritt@psi.ch | Question | Linux | commit a6e5962 | Re: Is it possible change content of the notifying mail content (attachements...) ? |
Please look in the manual under "Email Format" and "Use Email Subject".
Christine Quicot wrote: |
Hello all,
I would like to configure the email that is sent to notify users, when an entry is submitted:
- Is it possible to attach to the mail the files attached to the entry ?
- Is it possible to configure a string (with entry keywords) that will appear in the mail content instead of the default content ?
Thank you!
Christine
|
|
68572
|
Tue Feb 7 18:45:08 2017 |
| Christine Quicot | c.quicot@free.fr | Question | Linux | commit a6e5962 | Is it possible change content of the notifying mail content (attachements...) ? |
Hello all,
I would like to configure the email that is sent to notify users, when an entry is submitted:
- Is it possible to attach to the mail the files attached to the entry ?
- Is it possible to configure a string (with entry keywords) that will appear in the mail content instead of the default content ?
Thank you!
Christine
|
Draft
|
Mon Feb 6 15:59:04 2017 |
| sohail bhatti | sohail_bhatti@yahoo.com | Request | Windows | 3.1.2 | Re: calculate diff of 2 date(s) |
Alex Kühnel wrote: |
thx!
Stefan Ritt wrote: |
There is the "subst on edit = ..." option you should use in addition.
Stefan
Alex Kühnel wrote: |
is ist possible that subst only works for the initial create of a logbook entry? when I
change/edit one of the parameter "Einsatzbegin" or "Einsatzende" the "Einsatzzeit" is not changed.
regards
/alex
Alex Kühnel wrote: |
I found the solution in the forum :-)
subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\"
\"$Einsatzende\")
and diff.sh is
#!/bin/sh
#set -x
s1=$(date -d "$1" +%s)
s2=$(date -d "$2" +%s)
d=$(echo "($s2-$s1)/60"|bc -lq)
printf "%.0f Minuten" $d
Alex Kühnel wrote: |
hi
I have an elogsystem for documenting emergency services. I have a
starttime and an endtime. Is it possible to calculate the diff between the 2 timestamps and convert it to minutes?
Attributes = Bereitschafts Kalender Woche, Bereitschafts Woche,
Einsatzbeginn, Einsatzende, Einsatzzeit, Telefon Nummer, Station, Status, Problem
Options Status= Offen{1}, Erledigt{2}, Geschlossen{3}
......
Type Einsatzbeginn = datetime
Type Einsatzende = datetime
....
Subst Einsatzzeit = $shell(Einsatzende - Einsatzbeginn)
regards
/alex
|
|
|
|
|
|
68570
|
Tue Jan 31 21:38:44 2017 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 3.1.2 | Re: How can change the justification of a column? |
This is currently not possible.
/Stefan
fabio vitale wrote: |
Thank you Stefan: it worked!
Now I am wondering if there is some syntax to force this behaviour at the attribute level in elog.cfg, without the need to modify the css, I mean simply based on the attribute name (not its content). The syntax Style <attribute> <value> = <style> can modify the style but it applies to the whole line in the list, so all the cells in that line are affected. Also it apply *only if* the content of the cell equals <value>.
In other words, an overridden version for Style: Style <attribute> = <style> that will be applied *regardless* of the cell content _AND_ only to the cell specified in <attribute>
What do you think?
Stefan Ritt wrote: |
The CSS class for the list display table "listframe". If you want the second column to be left-aligned, you put following into elog.css:
.listframe td:nth-child(2) {
text-align:left;
}
that should do the trick. Replace the "2" with the column you would like to change.
Stefan
fabio vitale wrote: |
I need to set text-align:left but only for an attribute in the List mode, For example, say that FirstName column must be left justified in list view. What is the name of the cell content in the default elog.css?
Stefan Ritt wrote: |
You can do that chaning the CSS of the underlying theme. But you need some experience with CSS.
fabio vitale wrote: |
It is possible to change the justification for a column/attribute in the list mode (left-aligned, centered, right-aligned)?
Right now Elog treats each colum of a list as centered,
thank you
|
|
|
|
|
|
68569
|
Tue Jan 31 21:29:05 2017 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | Linux | commit a6e5962 | Re: Empty mxml directory in commit a6e5962 |
The mxml package has been converted into a submodule in the git repository. At http://midas.psi.ch/elog/download.html you see that you need a "--recursive" flag to clone it. If you have already checked out the sources, you need a
git submodule update --init --recursive
/Stefan
Christine Quicot wrote: |
Hello,
I wonder if it's normal that in the sources files, new created mxml directory is empty.
In commit # a6e5962 4 files are deleted but not moved:
- src/mxml.c
- src/mxml.h
- src/strlcpy.c
- src/strlcpy.h
Thank you
|
|
68568
|
Tue Jan 31 18:10:29 2017 |
| fabio vitale | mc3356@mclink.it | Request | Windows | 3.1.2 | Re: How can change the justification of a column? |
Thank you Stefan: it worked!
Now I am wondering if there is some syntax to force this behaviour at the attribute level in elog.cfg, without the need to modify the css, I mean simply based on the attribute name (not its content). The syntax Style <attribute> <value> = <style> can modify the style but it applies to the whole line in the list, so all the cells in that line are affected. Also it apply *only if* the content of the cell equals <value>.
In other words, an overridden version for Style: Style <attribute> = <style> that will be applied *regardless* of the cell content _AND_ only to the cell specified in <attribute>
What do you think?
Stefan Ritt wrote: |
The CSS class for the list display table "listframe". If you want the second column to be left-aligned, you put following into elog.css:
.listframe td:nth-child(2) {
text-align:left;
}
that should do the trick. Replace the "2" with the column you would like to change.
Stefan
fabio vitale wrote: |
I need to set text-align:left but only for an attribute in the List mode, For example, say that FirstName column must be left justified in list view. What is the name of the cell content in the default elog.css?
Stefan Ritt wrote: |
You can do that chaning the CSS of the underlying theme. But you need some experience with CSS.
fabio vitale wrote: |
It is possible to change the justification for a column/attribute in the list mode (left-aligned, centered, right-aligned)?
Right now Elog treats each colum of a list as centered,
thank you
|
|
|
|
|
68567
|
Tue Jan 31 17:49:16 2017 |
| Christine Quicot | c.quicot@free.fr | Info | Linux | commit a6e5962 | Empty mxml directory in commit a6e5962 |
Hello,
I wonder if it's normal that in the sources files, new created mxml directory is empty.
In commit # a6e5962 4 files are deleted but not moved:
- src/mxml.c
- src/mxml.h
- src/strlcpy.c
- src/strlcpy.h
Thank you
|