show will open dialog properly showing scheduled content if there is any

This commit is contained in:
naomiaro 2011-01-13 18:27:44 -05:00
parent a8f24952bd
commit f312ea0d60
6 changed files with 34 additions and 16 deletions

View file

@ -2,4 +2,7 @@
if(count($this->playlists) > 0) {
echo $this->partialLoop('schedule/find-playlists-partial.phtml', $this->playlists);
}
else {
echo "No Playlists Fit Duration";
}
?>

View file

@ -2,4 +2,7 @@
if(count($this->playlists) > 0) {
echo $this->partialLoop('schedule/find-playlists-partial.phtml', $this->playlists);
}
else {
echo "No Playlists Fit Duration";
}
?>

View file

@ -1,9 +1,5 @@
<div id="schedule_playlist_dialog">
<input id="schedule_playlist_search" type="text"></input>
<ul id="schedule_playlist_choice">
<?php
echo $this->partialLoop('schedule/find-playlists-partial.phtml', $this->playlists);
?>
</ul>
<ul id="schedule_playlist_chosen">No Playlists</ul>
<ul id="schedule_playlist_choice"></ul>
<ul id="schedule_playlist_chosen"></ul>
</div>

View file

@ -20,5 +20,7 @@
</div>
</li>
<?php endforeach; ?>
<?php else : ?>
<li>No Playlists</li>
<?php endif; ?>