Fossil SCM
Add the email alerts configuration summary to the security audit page.
Commit
a9e67fe615fdd1e2c663ea6f995fc0cb585300c97969bd7c54e369380b237323
Parent
05105248a156822…
1 file changed
+9
+9
| --- src/security_audit.c | ||
| +++ src/security_audit.c | ||
| @@ -385,10 +385,19 @@ | ||
| 385 | 385 | } |
| 386 | 386 | } |
| 387 | 387 | |
| 388 | 388 | @ <li><p> User capability summary: |
| 389 | 389 | capability_summary(); |
| 390 | + | |
| 391 | + if( email_enabled() ){ | |
| 392 | + @ <li><p> Email alert configuration summary: | |
| 393 | + @ <table class="label-value"> | |
| 394 | + stats_for_email(); | |
| 395 | + @ </table> | |
| 396 | + }else{ | |
| 397 | + @ <li><p> Email alerts are disabled | |
| 398 | + } | |
| 390 | 399 | |
| 391 | 400 | @ </ol> |
| 392 | 401 | style_footer(); |
| 393 | 402 | } |
| 394 | 403 | |
| 395 | 404 |
| --- src/security_audit.c | |
| +++ src/security_audit.c | |
| @@ -385,10 +385,19 @@ | |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | @ <li><p> User capability summary: |
| 389 | capability_summary(); |
| 390 | |
| 391 | @ </ol> |
| 392 | style_footer(); |
| 393 | } |
| 394 | |
| 395 |
| --- src/security_audit.c | |
| +++ src/security_audit.c | |
| @@ -385,10 +385,19 @@ | |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | @ <li><p> User capability summary: |
| 389 | capability_summary(); |
| 390 | |
| 391 | if( email_enabled() ){ |
| 392 | @ <li><p> Email alert configuration summary: |
| 393 | @ <table class="label-value"> |
| 394 | stats_for_email(); |
| 395 | @ </table> |
| 396 | }else{ |
| 397 | @ <li><p> Email alerts are disabled |
| 398 | } |
| 399 | |
| 400 | @ </ol> |
| 401 | style_footer(); |
| 402 | } |
| 403 | |
| 404 |