620 |
First, set the Audit-Trail field to read-only. Then add this: |
First, set the Audit-Trail field to read-only. Then add this: |
621 |
|
|
622 |
@example |
@example |
623 |
field "Add-To-Audit-Trail" { |
field "Add-To-Audit-Trail" @{ |
624 |
description "Add a log entry to Audit Trail" |
description "Add a log entry to Audit Trail" |
625 |
multitext { default "\n" } |
multitext @{ default "\n" @} |
626 |
on-change { |
on-change @{ |
627 |
add-audit-trail |
add-audit-trail |
628 |
audit-trail-format { |
audit-trail-format @{ |
629 |
format "---- Comments by %s on %s ----\n %s\n\n" #whatever you like |
format "---- Comments by %s on %s ----\n %s\n\n" #whatever you like |
630 |
fields { "$EditUserEmailAddr" "$CurrentDate" "$NewValue" } |
fields @{ "$EditUserEmailAddr" "$CurrentDate" "$NewValue" @} |
631 |
} |
@} |
632 |
} |
@} |
633 |
on-change { |
on-change @{ |
634 |
set-field "Add-To-Audit-Trail" { "\n" } |
set-field "Add-To-Audit-Trail" @{ "\n" @} |
635 |
} |
@} |
636 |
} |
@} |
637 |
@end example |
@end example |
638 |
|
|
639 |
|
|
871 |
the file. |
the file. |
872 |
|
|
873 |
|
|
874 |
@node E-Mail |
@node E-Mail, Miscellaneous, Gnatsd, Configuration |
875 |
@comment node-name, next, previous, up |
@comment node-name, next, previous, up |
876 |
@section E-Mail Issues |
@section E-Mail Issues |
877 |
|
|
901 |
@file{queue-pr}. |
@file{queue-pr}. |
902 |
|
|
903 |
|
|
904 |
@node Outgoing mail bounces |
@node Outgoing mail bounces, , queue-pr not available, E-Mail |
905 |
@comment node-name, next, previous, up |
@comment node-name, next, previous, up |
906 |
@subsubheading Mail from @sc{gnats} bounces |
@subsubheading Mail from @sc{gnats} bounces |
907 |
|
|