include gemerated smartblock/playlist name in success message
This commit is contained in:
parent
d2167f6f2c
commit
b6e554edfe
|
@ -27,7 +27,7 @@
|
|||
<button ng-click="createSmartblock()" class="btn" type="button" name="smartblock">
|
||||
<?php echo _("Generate Smartblock and Playlist") ?>
|
||||
</button>
|
||||
<div class='pc-sb-success success' style='display:none'></span></div>
|
||||
<div class='pc-sb-success success' style='display:none'>"{{podcast.title}}" <br> <?php echo _("Smartblock and Playlist generated") ?></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -46,6 +46,6 @@
|
|||
<?php echo _("Save") ?>
|
||||
</button>
|
||||
</div>
|
||||
<div class='success' style='display:none'></div>
|
||||
<div class='pc-save-success success' style='display:none'></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1990,6 +1990,10 @@ div.success{
|
|||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
div.success.pc-sb-success {
|
||||
height: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.errors, span.errors{
|
||||
color:#902d2d;
|
||||
|
@ -4157,7 +4161,12 @@ li .ui-state-hover {
|
|||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.editor_pane_wrapper .podcast-metadata-row:last-child {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.editor_pane_wrapper .podcast-metadata-row:last-child label {
|
||||
padding-top: 5px;
|
||||
}
|
||||
.podcast-url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue