Private GIT

Skip to content
Snippets Groups Projects
Commit 57bb88a3 authored by Brett Pemberton's avatar Brett Pemberton
Browse files

Only show airing data if it exists

parent fd5aa898
Branches
No related tags found
No related merge requests found
...@@ -56,7 +56,13 @@ ...@@ -56,7 +56,13 @@
<div id="summary" class="align-left"> <div id="summary" class="align-left">
<table class="infoTable" cellspacing="1" border="0" cellpadding="0"> <table class="infoTable" cellspacing="1" border="0" cellpadding="0">
#if $show.network and $show.airs:
<tr><td class="showLegend">Airs: </td><td>$show.airs on $show.network</td></tr> <tr><td class="showLegend">Airs: </td><td>$show.airs on $show.network</td></tr>
#else if $show.network:
<tr><td class="showLegend">Airs: </td><td>$show.network</td></tr>
#else if $show.airs:
<tr><td class="showLegend">Airs: </td><td>$show.airs</td></tr>
#end if
<tr><td class="showLegend">Status: </td><td>$show.status</td></tr> <tr><td class="showLegend">Status: </td><td>$show.status</td></tr>
#if $showLoc[1]: #if $showLoc[1]:
<tr><td class="showLegend">Location: </td><td>$showLoc[0]</td></tr> <tr><td class="showLegend">Location: </td><td>$showLoc[0]</td></tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment