Cosmetic tweaks

This commit is contained in:
Duncan Sommerville 2015-11-03 16:40:09 -05:00
parent 22f8b0f328
commit a1d9902b2a
3 changed files with 5 additions and 3 deletions

View file

@ -243,6 +243,8 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
if ($isStationPodcast) {
$episodes = $episodes->setLimit($limit);
}
// XXX: We should maybe try to alias this so we don't pass CcFiles as an array key to the frontend.
// It would require us to iterate over all the episodes and change the key for the response though...
$episodes = $episodes->joinWith('PodcastEpisodes.CcFiles')
->setOffset($offset)
->orderBy($sortColumn, $sortDir)

View file

@ -36,7 +36,7 @@
<div class="published-sources" ng-repeat="(source, label) in sources.published">
<span class="sp-checked-icon checked-icon left-floated"></span>
<span class="source-name">{{label}}</span>
<button class="btn btn-small" ng-click="remove(source)"><?php echo _("Remove") ?></button>
<button class="btn btn-small" ng-click="remove(source)"><?php echo _("Unpublish") ?></button>
</div>
<div ng-if="sources.published.length == 0">
<?php echo _("You haven't published this track to any sources!") . "<br/>"