Message if user has no videos - Github issue #121
This commit is contained in:
parent
3422f60ccc
commit
4972da73f3
1 changed files with 7 additions and 1 deletions
|
@ -60,7 +60,12 @@
|
|||
|
||||
{else}
|
||||
<div class="col-md-9">
|
||||
<h3>User Videos </h3>
|
||||
<h3>User Videos</h3>
|
||||
|
||||
{if !$videos}
|
||||
<div class="alert alert-danger" role="alert">Sorry, this user has no videos. Yet!</div>
|
||||
{else}
|
||||
|
||||
{section name=v_list loop=$videos}
|
||||
{include file="$style_dir/blocks/video.html" video=$videos[v_list]}
|
||||
{/section}
|
||||
|
@ -70,6 +75,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="footer">
|
||||
© {$title} {$smarty.now|date_format:"%Y"}
|
||||
|
|
Loading…
Add table
Reference in a new issue