Fossil SCM
Add the "Send a message to ..." link for administrators on the subscription configuration page.
Commit
bb05299ee78c531144a01e1abef0d949655330f985c37fb665501d5f23b9ddfb
Parent
60d40d5b586eeca…
1 file changed
+6
-1
+6
-1
| --- src/alerts.c | ||
| +++ src/alerts.c | ||
| @@ -1644,11 +1644,16 @@ | ||
| 1644 | 1644 | @ <input type="hidden" name="name" value="%h(zName)"> |
| 1645 | 1645 | @ <table class="subscribe"> |
| 1646 | 1646 | @ <tr> |
| 1647 | 1647 | @ <td class="form_label">Email Address:</td> |
| 1648 | 1648 | if( isLogin ){ |
| 1649 | - @ <td><input type="text" name="semail" value="%h(semail)" size="30"></td> | |
| 1649 | + @ <td><input type="text" name="semail" value="%h(semail)" size="30">\ | |
| 1650 | + if( g.perm.Admin ){ | |
| 1651 | + @ <a href="%R/announce?to=%t(semail)">\ | |
| 1652 | + @ (Send a message to %h(semail))</a>\ | |
| 1653 | + } | |
| 1654 | + @ </td> | |
| 1650 | 1655 | }else{ |
| 1651 | 1656 | @ <td>%h(semail)</td> |
| 1652 | 1657 | } |
| 1653 | 1658 | @ </tr> |
| 1654 | 1659 | if( g.perm.Admin ){ |
| 1655 | 1660 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -1644,11 +1644,16 @@ | |
| 1644 | @ <input type="hidden" name="name" value="%h(zName)"> |
| 1645 | @ <table class="subscribe"> |
| 1646 | @ <tr> |
| 1647 | @ <td class="form_label">Email Address:</td> |
| 1648 | if( isLogin ){ |
| 1649 | @ <td><input type="text" name="semail" value="%h(semail)" size="30"></td> |
| 1650 | }else{ |
| 1651 | @ <td>%h(semail)</td> |
| 1652 | } |
| 1653 | @ </tr> |
| 1654 | if( g.perm.Admin ){ |
| 1655 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -1644,11 +1644,16 @@ | |
| 1644 | @ <input type="hidden" name="name" value="%h(zName)"> |
| 1645 | @ <table class="subscribe"> |
| 1646 | @ <tr> |
| 1647 | @ <td class="form_label">Email Address:</td> |
| 1648 | if( isLogin ){ |
| 1649 | @ <td><input type="text" name="semail" value="%h(semail)" size="30">\ |
| 1650 | if( g.perm.Admin ){ |
| 1651 | @ <a href="%R/announce?to=%t(semail)">\ |
| 1652 | @ (Send a message to %h(semail))</a>\ |
| 1653 | } |
| 1654 | @ </td> |
| 1655 | }else{ |
| 1656 | @ <td>%h(semail)</td> |
| 1657 | } |
| 1658 | @ </tr> |
| 1659 | if( g.perm.Admin ){ |
| 1660 |