Cosmetic tweaks
This commit is contained in:
parent
22f8b0f328
commit
a1d9902b2a
|
@ -243,6 +243,8 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
|
||||||
if ($isStationPodcast) {
|
if ($isStationPodcast) {
|
||||||
$episodes = $episodes->setLimit($limit);
|
$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')
|
$episodes = $episodes->joinWith('PodcastEpisodes.CcFiles')
|
||||||
->setOffset($offset)
|
->setOffset($offset)
|
||||||
->orderBy($sortColumn, $sortDir)
|
->orderBy($sortColumn, $sortDir)
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<div class="published-sources" ng-repeat="(source, label) in sources.published">
|
<div class="published-sources" ng-repeat="(source, label) in sources.published">
|
||||||
<span class="sp-checked-icon checked-icon left-floated"></span>
|
<span class="sp-checked-icon checked-icon left-floated"></span>
|
||||||
<span class="source-name">{{label}}</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>
|
||||||
<div ng-if="sources.published.length == 0">
|
<div ng-if="sources.published.length == 0">
|
||||||
<?php echo _("You haven't published this track to any sources!") . "<br/>"
|
<?php echo _("You haven't published this track to any sources!") . "<br/>"
|
||||||
|
|
|
@ -205,7 +205,7 @@ var AIRTIME = (function (AIRTIME) {
|
||||||
var $scope = this.$scope,
|
var $scope = this.$scope,
|
||||||
buttons = {
|
buttons = {
|
||||||
editBtn: {
|
editBtn: {
|
||||||
title : $.i18n._('Edit'),
|
title : $.i18n._('Edit Metadata'),
|
||||||
iconClass : 'icon-pencil',
|
iconClass : 'icon-pencil',
|
||||||
extraBtnClass : '',
|
extraBtnClass : '',
|
||||||
elementId : '',
|
elementId : '',
|
||||||
|
@ -216,7 +216,7 @@ var AIRTIME = (function (AIRTIME) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deleteBtn: {
|
deleteBtn: {
|
||||||
title : $.i18n._('Delete'),
|
title : $.i18n._('Unpublish'),
|
||||||
iconClass : 'icon-trash',
|
iconClass : 'icon-trash',
|
||||||
extraBtnClass : 'btn-danger',
|
extraBtnClass : 'btn-danger',
|
||||||
elementId : '',
|
elementId : '',
|
||||||
|
|
Loading…
Reference in New Issue