mirror of https://github.com/lidarr/Lidarr
indented if/else content
This commit is contained in:
parent
6c2534ec61
commit
64d87d7a68
|
@ -3,27 +3,27 @@
|
|||
</div>
|
||||
<div class="episode-file-info">
|
||||
{{#if episodeFile}}
|
||||
{{#with episodeFile}}
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Path</th>
|
||||
<th>Size</th>
|
||||
<th>Quality</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{path}}</td>
|
||||
<td>{{fileSize size}}</td>
|
||||
<td>{{quality.quality.name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{/with}}
|
||||
{{#with episodeFile}}
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Path</th>
|
||||
<th>Size</th>
|
||||
<th>Quality</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{path}}</td>
|
||||
<td>{{fileSize size}}</td>
|
||||
<td>{{quality.quality.name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{/with}}
|
||||
{{else}}
|
||||
<p class="text-warning">
|
||||
No file available for this episode.
|
||||
</p>
|
||||
<p class="text-warning">
|
||||
No file available for this episode.
|
||||
</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue