Merge pull request #716 from frecuencialibre/podcast-ui-2

Clarify podcast settings and workflow
This commit is contained in:
Robb 2019-02-27 13:09:42 -05:00 committed by GitHub
commit bc14230281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 1859 additions and 213 deletions

View file

@ -11,7 +11,7 @@ $(document).ready(function() {
//});
//this statement tells the browser to fade out any success message after 5 seconds
setTimeout(function(){$(".success").fadeOut("slow", function(){$(this).empty()});}, 5000);
setTimeout(function(){$(".success").fadeOut("slow")}, 5000);
});
/*

View file

@ -71,7 +71,6 @@ var AIRTIME = (function (AIRTIME) {
function() {
// show success message
var successMsg = $('.active-tab .pc-sb-success')
successMsg.text($.i18n._('Smartblock and playlist generated'));
successMsg.show("fast");
setTimeout(function(){
successMsg.hide("fast");
@ -85,6 +84,7 @@ var AIRTIME = (function (AIRTIME) {
})
.success(function () {
AIRTIME.library.podcastDataTable.fnDraw();
self.$scope.tab.setName(self.$scope.podcast.title);
});
// redraw list of smartblocks just in case they have it visible on the left
@ -636,7 +636,7 @@ var AIRTIME = (function (AIRTIME) {
podcastEpisodeButtons = AIRTIME.widgets.Table.getStandardToolbarButtons();
$.extend(true, podcastEpisodeButtons[AIRTIME.widgets.Table.TOOLBAR_BUTTON_ROLES.NEW],
{
title: "Import",
title: $.i18n._("Import"),
eventHandlers: {
click: function () {
var episodes = mod.episodeTables[podcastId].getSelectedRows();