<?php
/*
Copyright (©) 2003-2014 Teus Benschop.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
?>
<h1><?php echo Locale_Translate::_("Notifications") ?></h1>

<h2><?php echo Locale_Translate::_("Consultation Notes") ?></h2>

<table>

<tr>
<td>
<a href="?editednotessubscriptiontoggle=">
<?php if ($this->edited_notes_subscription == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Subscribe to a consultation note you created or edited online or by email.") ?>
</td>
</tr>

<tr>
<td>
<a href="?anynotessubscriptiontoggle=">
<?php if ($this->any_notes_subscription == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Subscribe to a consultation note created or edited by anybody online or by email.") ?>
</td>
</tr>

<tr>
<td>
<a href="?emailconfirmationyourpoststoggle=">
<?php if ($this->email_confirmation_your_posts == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive email confirmation of your posts to a consultation notes done by email.") ?>
</td>
</tr>

<tr>
<td>
<a href="?subscribednotenotificationtoggle=">
<?php if ($this->subscription_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive email about changes in a consultation note you are subscribed to.") ?>
</td>
</tr>

<tr>
<td>
<a href="?notesassignmenttoggle=">
<?php if ($this->notes_assignment == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("A consultation note that get changed will be assigned to you.") ?>
</td>
</tr>

<tr>
<td>
<a href="?assignednotenotificationtoggle=">
<?php if ($this->assignment_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive email about changes in a consultation note assigned to you.") ?>
</td>
</tr>

<tr>
<td>
<a href="?suppressemailsfromnotesyouupdatedtoggle=">
<?php if ($this->suppress_mails_from_your_updates == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Suppress receiving email from an updated consultation note in case the update was made by you.") ?>
</td>
</tr>

<tr>
<td>
<a href="?assignednotesnotificationtoggle=">
<?php if ($this->assigned_notes_notifications == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive a daily email with the number of consultation notes assigned to you.") ?>
</td>
</tr>

<tr>
<td>
<a href="?subscribednotesnotificationtoggle=">
<?php if ($this->subscribed_notes_notifications == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive a daily email with the number of consultation notes you are subscribed to.") ?>
</td>
</tr>

<tr>
<td>
<a href="?deletednotenotificationtoggle=">
<?php if ($this->deleted_note_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
<?php echo Locale_Translate::_("Receive email about a deleted consultation note.") ?>
</td>
</tr>

<tr>
<td>
<a href="?postponenewnotesmailstoggle=">
<?php if ($this->postpone_new_notes_mails == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
</td>
<td>
  <?php echo Locale_Translate::_("Emails generated when you create a consultation note, hold on to them for a while, and send them in the evening.") ?>
  <?php echo Locale_Translate::_("This setting may be useful in the following scenario:") ?>
  <?php echo Locale_Translate::_("Each time you create a new note, the other members of the team get interrupted by your email.") ?>
  <?php echo Locale_Translate::_("This happens many times a day.") ?>
  <?php echo Locale_Translate::_("You don't want these interruptions, but the team members need to get your email eventually.") ?>
  <?php echo Locale_Translate::_("Tick this setting, and you're done.") ?>
</td>
</tr>

</table>

<h2><?php echo Locale_Translate::_("Change Notifications") ?></h2>

<p>
<a href="?userchangesnotificationstoggle=">
<?php if ($this->user_changes_notifications == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<?php echo Locale_Translate::_("Receive a daily email with the changes made by you in the online Bible text editor.") ?>
</p>

<p>
<a href="?biblechangesnotificationtoggle=">
<?php if ($this->bible_changes_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<?php echo Locale_Translate::_("Receive a daily email with the changes accepted into the team's text of the Bibles.") ?>
</p>

<p>
<a href="?changenotificationstoggle=">
<?php if ($this->change_notifications == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<a href="../changes/changes.php"><?php echo Locale_Translate::_("Notifications about changes in the Bible text will be generated for you online.") ?></a>
</p>

<p>
<a href="?userchangenotificationsonlinetoggle=">
<?php if ($this->user_changes_notifications_online == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<a href="../changes/changes.php"><?php echo Locale_Translate::_("Notifications about changes made by you in the online Bible text editor will be generated for you online.") ?></a>
</p>

<p>
<a href="?pendingchangenotificationstoggle=">
<?php if ($this->pending_changes_notifications == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<?php echo Locale_Translate::_("Receive a daily email with the number of online change notifications awaiting your attention.") ?>
</p>

<h2><?php echo Locale_Translate::_("Text Checks") ?></h2>

<p>
<a href="?biblechecksnotificationtoggle=">
<?php if ($this->bible_checks_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<?php echo Locale_Translate::_("Receive a daily email with results of checks on the text of the Bibles.") ?>
</p>

<h2><?php echo Locale_Translate::_("Team work") ?></h2>

<p>
<a href="?sprintprogressnotificationtoggle=">
<?php if ($this->sprint_progress_notification == true) { ?> ☑ <?php } else { ?> ☐ <?php } ?>
</a>
<a href="../sprint/index.php"><?php echo Locale_Translate::_("Receive a weekly email about the team's progress during the course of the sprint.") ?></a>
</p>
