</div>␊ |
{/if}␊ |
<form method="post" action=".">␊ |
<table class="form" summary="">␊ |
<table class="form access-rights" summary="">␊ |
<tr>␊ |
<th> </th>␊ |
<th class="a-c"><strong>{trans 'Access Rights'}</strong></th>␊ |
<th class="a-c"><strong>{trans 'Notification Email'}</strong></th>␊ |
<th class="left"><strong>{trans 'Access Rights'}</strong></th>␊ |
<th class="left"><strong>{trans 'Notifications'}</strong></th>␊ |
</tr>␊ |
<tr>␊ |
<th><strong>{$form.f.downloads_access_rights.labelTag}:</strong></th>␊ |
|
{$form.f.downloads_access_rights|unsafe}␊ |
</td>␊ |
<td>{if $form.f.downloads_notification_email.errors}{$form.f.downloads_notification_email.fieldErrors}{/if}␊ |
{$form.f.downloads_notification_owners_enabled|unsafe}␊ |
{$form.f.downloads_notification_owners_enabled.labelTag}␊ |
{$form.f.downloads_notification_members_enabled|unsafe}␊ |
{$form.f.downloads_notification_members_enabled.labelTag}␊ |
{$form.f.downloads_notification_email_enabled|unsafe}␊ |
{$form.f.downloads_notification_email_enabled.labelTag}␊ |
{$form.f.downloads_notification_email|unsafe}␊ |
</td>␊ |
</tr>␊ |
|
{$form.f.wiki_access_rights|unsafe}␊ |
</td>␊ |
<td>{if $form.f.wiki_notification_email.errors}{$form.f.wiki_notification_email.fieldErrors}{/if}␊ |
{$form.f.wiki_notification_owners_enabled|unsafe}␊ |
{$form.f.wiki_notification_owners_enabled.labelTag}␊ |
{$form.f.wiki_notification_members_enabled|unsafe}␊ |
{$form.f.wiki_notification_members_enabled.labelTag}␊ |
{$form.f.wiki_notification_email_enabled|unsafe}␊ |
{$form.f.wiki_notification_email_enabled.labelTag}␊ |
{$form.f.wiki_notification_email|unsafe}␊ |
</td>␊ |
</tr>␊ |
|
{$form.f.issues_access_rights|unsafe}␊ |
</td>␊ |
<td>{if $form.f.issues_notification_email.errors}{$form.f.issues_notification_email.fieldErrors}{/if}␊ |
{$form.f.issues_notification_owners_enabled|unsafe}␊ |
{$form.f.issues_notification_owners_enabled.labelTag}␊ |
{$form.f.issues_notification_members_enabled|unsafe}␊ |
{$form.f.issues_notification_members_enabled.labelTag}␊ |
{$form.f.issues_notification_email_enabled|unsafe}␊ |
{$form.f.issues_notification_email_enabled.labelTag}␊ |
{$form.f.issues_notification_email|unsafe}␊ |
</td>␊ |
</tr>␊ |
|
{$form.f.source_access_rights|unsafe}␊ |
</td>␊ |
<td>{if $form.f.source_notification_email.errors}{$form.f.source_notification_email.fieldErrors}{/if}␊ |
{$form.f.source_notification_owners_enabled|unsafe}␊ |
{$form.f.source_notification_owners_enabled.labelTag}␊ |
{$form.f.source_notification_members_enabled|unsafe}␊ |
{$form.f.source_notification_members_enabled.labelTag}␊ |
{$form.f.source_notification_email_enabled|unsafe}␊ |
{$form.f.source_notification_email_enabled.labelTag}␊ |
{$form.f.source_notification_email|unsafe}␊ |
</td>␊ |
</tr>␊ |
<tr>␊ |
<td> </td>␊ |
<td colspan="2" class="helptext">␊ |
{blocktrans}␊ |
Only project members and admins have write access to the source.<br />␊ |
If you restrict the access to the source, anonymous access is<br />␊ |
not provided and the users must authenticate themselves with their<br />␊ |
password or SSH key.{/blocktrans}␊ |
</td></tr>␊ |
<tr>␊ |
<th><strong>{$form.f.review_access_rights.labelTag}:</strong></th>␊ |
<td>{if $form.f.review_access_rights.errors}{$form.f.review_access_rights.fieldErrors}{/if}␊ |
{$form.f.review_access_rights|unsafe}␊ |
</td>␊ |
<td>{if $form.f.review_notification_email.errors}{$form.f.review_notification_email.fieldErrors}{/if}␊ |
{$form.f.review_notification_owners_enabled|unsafe}␊ |
{$form.f.review_notification_owners_enabled.labelTag}␊ |
{$form.f.review_notification_members_enabled|unsafe}␊ |
{$form.f.review_notification_members_enabled.labelTag}␊ |
{$form.f.review_notification_email_enabled|unsafe}␊ |
{$form.f.review_notification_email_enabled.labelTag}␊ |
{$form.f.review_notification_email|unsafe}␊ |
</td>␊ |
</tr>␊ |
<tr>␊ |
<th>{if $form.f.private_project.errors}{$form.f.private_project.fieldErrors}{/if}␊ |
<th> </th>␊ |
<td>␊ |
{if $form.f.private_project.errors}{$form.f.private_project.fieldErrors}{/if}␊ |
{$form.f.private_project|unsafe}␊ |
</th>␊ |
<td>{$form.f.private_project.labelTag}</td>␊ |
{$form.f.private_project.labelTag}␊ |
</td>␊ |
</tr>␊ |
<tr id="authorized-users-row">␊ |
<td> </td>␊ |
|
{/block}␊ |
{block context}␊ |
<div class="issue-submit-info">␊ |
<p><strong>{trans 'Instructions:'}</strong></p>␊ |
<p>{blocktrans}You can configure here the project tabs access rights and notification emails.{/blocktrans}</p>␊ |
<p>{blocktrans}Notification emails will be sent from the <strong>{$from_email}</strong> address, if you send the email to a mailing list, you may need to register this email address. Multiple email addresses must be separated through commas (','). If you do not want to send emails for a given type of changes, simply leave the corresponding field empty.{/blocktrans}</p>␊ |
<p>{blocktrans}If you mark a project as private, only the project members and administrators, together with the extra authorized users you provide will have access to the project. You will still be able to define further access rights for the different tabs but the "Open to all" and "Signed in users" will default to authorized users only.{/blocktrans}</p>␊ |
<p>{blocktrans}Specify each person by its login. Each person must have already registered with the given login. Separate the logins with commas and/or new lines.{/blocktrans}</p>␊ |
<p>{blocktrans}This section allows you to configure project tabs access rights and notifications.{/blocktrans}</p>␊ |
<p><strong>{trans 'Access Rights'}</strong></p>␊ |
<p>{blocktrans}Tab access controls whether a single user can navigate into a particular section of your project via the main menu or automatically generated object links.{/blocktrans}</p> ␊ |
<p>{blocktrans}If you mark a project as private, only the project members and administrators, together with the extra authorized users you provide will have access to the project as a whole. You will still be able to define further access rights for the different tabs but the "Open to all" and "Signed in users" will default to authorized users only.{/blocktrans}</p>␊ |
<p>{blocktrans}For the extra authorized user list, specify each person by its login. Each person must have already registered with the given login. Separate the logins with commas and/or new lines.{/blocktrans}</p>␊ |
<p>{blocktrans}Only project members and admins have write access to the source. If you restrict the access to the source, anonymous access is not provided and the users must authenticate themselves with their password or SSH key.{/blocktrans}</p>␊ |
<p><strong>{trans 'Notifications'}</strong></p>␊ |
<p>{blocktrans}Here you can configure who should be notified about changes in a particular section. You can also configure additional addresses, like the one of a mailing list, that should be notified. (Keep in mind that you might have to register the sender address <strong>{$from_email}</strong> to let the mailing list actually accept notification emails.) Multiple email addresses must be separated through commas (',').{/blocktrans}</p>␊ |
</div>␊ |
{/block}␊ |
␊ |
{block javascript}{literal}␊ |
<script type="text/javascript">␊ |
$(document).ready(function(){␊ |
// If not checked, hide␊ |
if (!$("#id_private_project").is(":checked"))␊ |
$(document).ready(function() {␊ |
// if not checked, hide␊ |
if (!$("#id_private_project").is(":checked")) {␊ |
$("#authorized-users-row").hide();␊ |
$("#id_private_project").click(function(){␊ |
if ($("#id_private_project").is(":checked")) {␊ |
$("#authorized-users-row").show();␊ |
}␊ |
$("#id_private_project").click(function() {␊ |
if ($("#id_private_project").is(":checked")) {␊ |
$("#authorized-users-row").show();␊ |
} else {␊ |
$("#authorized-users-row").hide();␊ |
}␊ |
});␊ |
␊ |
// if not checked, hide␊ |
$.each(['downloads', 'wiki', 'issues', 'source', 'review'], function(index, section) { ␊ |
␉if (!$("#id_" + section + "_notification_email_enabled").is(":checked")) {␊ |
$("#id_" + section + "_notification_email").hide();␊ |
␉}␊ |
$("#id_" + section + "_notification_email_enabled").click(function() {␊ |
if ($("#id_" + section + "_notification_email_enabled").is(":checked")) {␊ |
$("#id_" + section + "_notification_email").show();␊ |
} else {␊ |
$("#authorized-users-row").hide();␊ |
$("#id_" + section + "_notification_email").hide();␊ |
}␊ |
});␊ |
});␊ |
}); ␊ |
});␊ |
</script>␊ |
{/literal}{/block}␊ |