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:
23
templates/browse/source-details.tpl
Normal file
23
templates/browse/source-details.tpl
Normal 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}
|
||||
Reference in New Issue
Block a user