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/>"

View File

@ -205,7 +205,7 @@ var AIRTIME = (function (AIRTIME) {
var $scope = this.$scope,
buttons = {
editBtn: {
title : $.i18n._('Edit'),
title : $.i18n._('Edit Metadata'),
iconClass : 'icon-pencil',
extraBtnClass : '',
elementId : '',
@ -216,7 +216,7 @@ var AIRTIME = (function (AIRTIME) {
}
},
deleteBtn: {
title : $.i18n._('Delete'),
title : $.i18n._('Unpublish'),
iconClass : 'icon-trash',
extraBtnClass : 'btn-danger',
elementId : '',