-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new condition for organizer reminder (#1328)
* Add wcor_transparency_report checkbox. * Remove wcor_send_after_and_no_report. * phpcs
- Loading branch information
Showing
4 changed files
with
41 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,11 @@ | |
<th><input id="wcor_send_organizers" name="wcor_send_where[]" type="checkbox" value="wcor_send_organizers" <?php checked( in_array( 'wcor_send_organizers', $send_where ) ); ?>></th> | ||
<td colspan="2"><label for="wcor_send_organizers">The organizing team</label> | ||
<br> | ||
(Will send to | ||
<span>(Will send to | ||
1. <code>[email protected]</code> | ||
2. If specified, the email address under WordCamp Information section on WordCamp edit page | ||
3. If specified, the email address of the lead organizer) | ||
</span> | ||
</td> | ||
</tr> | ||
|
||
|
@@ -122,6 +123,11 @@ | |
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<th><input id="wcor_transparency_report" name="wcor_transparency_report" type="checkbox" value="wcor_transparency_report" <?php checked( $post->wcor_transparency_report, 'wcor_transparency_report' ); ?>></th> | ||
<td><label for="wcor_transparency_report">For transparency report - triggered when <strong>NOT</strong> 'Running money through WPCS PBC'</label></td> | ||
</tr> | ||
|
||
<tr> | ||
<th><input id="wcor_send_before" name="wcor_send_when" type="radio" value="wcor_send_before" <?php checked( $post->wcor_send_when, 'wcor_send_before' ); ?>></th> | ||
<td><label for="wcor_send_before">before the camp starts: </label></td> | ||
|
@@ -149,15 +155,6 @@ | |
</td> | ||
</tr> | ||
|
||
<tr> | ||
<th><input id="wcor_send_after_and_no_report" name="wcor_send_when" type="radio" value="wcor_send_after_and_no_report" <?php checked( $post->wcor_send_when, 'wcor_send_after_and_no_report' ); ?>></th> | ||
<td><label for="wcor_send_after_and_no_report">after the camp ends and no transparency report is received: </label></td> | ||
<td> | ||
<input id="wcor_send_days_after_and_no_report" name="wcor_send_days_after_and_no_report" type="text" class="small-text" value="<?php echo esc_attr( $post->wcor_send_days_after_and_no_report ); ?>" /> | ||
<label for="wcor_send_days_after_and_no_report">days</label> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<th><input id="wcor_send_trigger" name="wcor_send_when" type="radio" value="wcor_send_trigger" <?php checked( $post->wcor_send_when, 'wcor_send_trigger' ); ?>></th> | ||
<td><label for="wcor_send_trigger">on a trigger: </label></td> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters