2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/admin/base.html"}
|
2008-09-02 14:45:49 +00:00
|
|
|
{block docclass}yui-t1{assign $inSource = true}{/block}
|
|
|
|
{block body}
|
2008-11-30 23:36:27 +00:00
|
|
|
{if $remote_svn and $form.errors}
|
2008-09-02 14:45:49 +00:00
|
|
|
<div class="px-message-error">
|
|
|
|
<p>{trans 'The form contains some errors. Please correct them to update the source configuration.'}</p>
|
|
|
|
{if $form.get_top_errors}
|
|
|
|
{$form.render_top_errors|unsafe}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
<form method="post" action=".">
|
|
|
|
<table class="form" summary="">
|
|
|
|
<tr>
|
2008-11-30 23:36:27 +00:00
|
|
|
<th>{trans 'Repository type:'}</th>
|
|
|
|
<td>{$repository_type}
|
2008-09-02 14:45:49 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2008-11-30 23:36:27 +00:00
|
|
|
<th>{trans 'Repository access:'}</th>
|
|
|
|
<td>{$repository_access}
|
2008-09-02 14:45:49 +00:00
|
|
|
</td>
|
2008-11-30 23:36:27 +00:00
|
|
|
</tr>{if $remote_svn}
|
2008-09-02 14:45:49 +00:00
|
|
|
<tr>
|
|
|
|
<th>{$form.f.svn_username.labelTag}:</th>
|
|
|
|
<td>{if $form.f.svn_username.errors}{$form.f.svn_username.fieldErrors}{/if}
|
|
|
|
{$form.f.svn_username|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{$form.f.svn_password.labelTag}:</th>
|
|
|
|
<td>{if $form.f.svn_password.errors}{$form.f.svn_password.fieldErrors}{/if}
|
|
|
|
{$form.f.svn_password|unsafe}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
<td>
|
|
|
|
<input type="submit" value="{trans 'Save Changes'}" name="submit" />
|
|
|
|
</td>
|
2008-11-30 23:36:27 +00:00
|
|
|
</tr>{/if}
|
2008-09-02 14:45:49 +00:00
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{/block}
|
|
|
|
{block context}
|
|
|
|
<div class="issue-submit-info">
|
2008-11-30 23:36:27 +00:00
|
|
|
<p>{blocktrans}You can find here the current repository configuration of your project.{/blocktrans}</p>
|
2008-09-02 14:45:49 +00:00
|
|
|
</div>
|
|
|
|
{/block}
|