Root/
| Source at commit 7383e18dff19e7e6a1e56d55cdfbfa109e91bfb3 created 1 year 7 months ago. By Loic d'Anterroches, Fixed issue 4, with fine control over the tabs access. | |
|---|---|
| 1 | {extends "admin/base.html"} |
| 2 | {block docclass}yui-t1{assign $inTabs = true}{/block} |
| 3 | {block body} |
| 4 | {if $form.errors} |
| 5 | <div class="px-message-error"> |
| 6 | <p>{trans 'The form contains some errors. Please correct them to update the access rights.'}</p> |
| 7 | {if $form.get_top_errors} |
| 8 | {$form.render_top_errors|unsafe} |
| 9 | {/if} |
| 10 | </div> |
| 11 | {/if} |
| 12 | <form method="post" action="."> |
| 13 | <table class="form" summary=""> |
| 14 | <tr> |
| 15 | <th><strong>{$form.f.downloads_access_rights.labelTag}:</strong></th> |
| 16 | <td>{if $form.f.downloads_access_rights.errors}{$form.f.downloads_access_rights.fieldErrors}{/if} |
| 17 | {$form.f.downloads_access_rights|unsafe} |
| 18 | </td> |
| 19 | </tr> |
| 20 | <tr> |
| 21 | <th><strong>{$form.f.issues_access_rights.labelTag}:</strong></th> |
| 22 | <td>{if $form.f.issues_access_rights.errors}{$form.f.issues_access_rights.fieldErrors}{/if} |
| 23 | {$form.f.issues_access_rights|unsafe} |
| 24 | </td> |
| 25 | </tr> |
| 26 | <tr> |
| 27 | <th><strong>{$form.f.source_access_rights.labelTag}:</strong></th> |
| 28 | <td>{if $form.f.source_access_rights.errors}{$form.f.source_access_rights.fieldErrors}{/if} |
| 29 | {$form.f.source_access_rights|unsafe} |
| 30 | </td> |
| 31 | </tr> |
| 32 | <tr> |
| 33 | <td colspan="2"> |
| 34 | <input type="submit" value="{trans 'Save Changes'}" name="submit" /> |
| 35 | </td> |
| 36 | </tr> |
| 37 | </table> |
| 38 | </form> |
| 39 | {/block} |
| 40 | {block context} |
| 41 | <div class="issue-submit-info"> |
| 42 | <p><strong>{trans 'Instructions:'}</strong></p> |
| 43 | <p>{blocktrans}You can configure here the project tabs access rights.{/blocktrans}</p> |
| 44 | </div> |
| 45 | {/block} |
| 46 | |
