Added a page to display details about a source

Placeholder source detail page which checks that the source is valid and lies below the configured rips.source_dir.
This commit is contained in:
2010-03-21 02:46:31 +00:00
parent 835609a2c9
commit b26367e953
3 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
<h2>Source details</h2>
{if $source}
<table class="source-details">
<colgroup class="header">
<col />
</colgroup>
<colgroup>
<col />
</colgroup>
<tbody>
<tr>
<th>Source</th>
<td>{$source|escape:"html"}</td>
</tr>
</tbody>
</table>
{else}
<p>
<em>This is not a valid source.</em>
</p>
{/if}