Merge pull request #640 from frecuencialibre/smartblock-ui

Smartblock ui: add collapsed "advanced options" section
This commit is contained in:
Robb 2018-12-13 21:23:24 -05:00 committed by GitHub
commit 784bac256e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 557 additions and 101 deletions

View file

@ -1,87 +1,8 @@
<form class="smart-block-form" method="post" action="">
<dl class='zend_form search-criteria'>
<div id='sp-success' class='success' style='display:none'></div>
<dt>
<label class='sp-label'>
<?php echo $this->element->getElement('sp_type')->getLabel() ?>
</label>
</dt>
<dd id='sp_type-element'>
<?php $i=0;
$value = $this->element->getElement('sp_type')->getValue();
foreach ($this->element->getElement('sp_type')->getMultiOptions() as $radio) : ?>
<label class='sp-label' for='sp_type-<?php echo $i?>'>
<input type="radio" value="<?php echo $i ?>" id="sp_type-<?php echo $i ?>" name="sp_type" <?php if($i == $value){echo 'checked="checked"';}?> ><?php echo $radio ?>
</label>
<?php $i = $i + 1; ?>
<?php endforeach; ?>
<span class='playlist_type_help_icon'></span>
</dd>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_repeat_tracks')->getLabel() ?></label>
</dt>
<dd id='sp_repeat_tracks-element'>
<?php echo $this->element->getElement('sp_repeat_tracks')?>
<?php if($this->element->getElement("sp_repeat_tracks")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_repeat_tracks")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
<span class='repeat_tracks_help_icon'></span>
</dd>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_overflow_tracks')->getLabel() ?></label>
</dt>
<dd id='sp_overflow_tracks-element'>
<?php echo $this->element->getElement('sp_overflow_tracks')?>
<?php if($this->element->getElement("sp_overflow_tracks")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_overflow_tracks")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
<span class='overflow_tracks_help_icon'></span>
</dd>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_sort_options')->getLabel();?></label>
</dt>
<dd id='sp_sort-element'>
<?php echo $this->element->getElement('sp_sort_options') ?>
<?php if($this->element->getElement("sp_sort_options")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_sort_options")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
</dd>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_limit_value')->getLabel() ?></label>
</dt>
<dd id='sp_limit-element'>
<?php echo $this->element->getElement('sp_limit_value')?>
<?php echo $this->element->getElement('sp_limit_options') ?>
<?php if($this->element->getElement("sp_limit_value")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_limit_value")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
</dd>
<dt><label><?php echo(_("Search Criteria:"));?></label></dt>
<dd id='sp_criteria-element' class='criteria-element'>
<a class='btn btn-small btn-new' id='criteria_add'><i class='icon-white icon-plus'></i><?php echo(_("New Criteria")); ?></a>
<?php for ($i = 0; $i < $this->criteriasLength; $i++) {
// modRowMap holds the number of modifier rows for each criteria element
// i.e. if we have 'Album contains 1' and 'Album contains 2' the modRowMap
@ -138,7 +59,93 @@
<?php } ?>
<?php } ?>
<a class='btn btn-small btn-new' id='criteria_add'><i class='icon-white icon-plus'></i><?php echo(_("New Criteria")); ?></a>
</dd>
</dl>
<dl>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_limit_value')->getLabel() ?></label>
</dt>
<dd id='sp_limit-element'>
<?php echo $this->element->getElement('sp_limit_value')?>
<?php echo $this->element->getElement('sp_limit_options') ?>
<?php if($this->element->getElement("sp_limit_value")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_limit_value")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
</dd>
</dl>
<div class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Advanced options"); ?></div>
<div class="smart-block-advanced">
<dl>
<dt>
<label class='sp-label'>
<?php echo $this->element->getElement('sp_type')->getLabel() ?>
</label>
</dt>
<dd id='sp_type-element'>
<?php $i=0;
$value = $this->element->getElement('sp_type')->getValue();
foreach ($this->element->getElement('sp_type')->getMultiOptions() as $radio) : ?>
<label class='sp-label' for='sp_type-<?php echo $i?>'>
<input type="radio" value="<?php echo $i ?>" id="sp_type-<?php echo $i ?>" name="sp_type" <?php if($i == $value){echo 'checked="checked"';}?> ><?php echo $radio ?>
</label>
<?php $i = $i + 1; ?>
<?php endforeach; ?>
<span class='playlist_type_help_icon'></span>
</dd>
</dl>
<dl>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_repeat_tracks')->getLabel() ?></label>
</dt>
<dd id='sp_repeat_tracks-element'>
<?php echo $this->element->getElement('sp_repeat_tracks')?>
<?php if($this->element->getElement("sp_repeat_tracks")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_repeat_tracks")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
<span class='repeat_tracks_help_icon'></span>
</dd>
</dl>
<dl>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_overflow_tracks')->getLabel() ?></label>
</dt>
<dd id='sp_overflow_tracks-element'>
<?php echo $this->element->getElement('sp_overflow_tracks')?>
<?php if($this->element->getElement("sp_overflow_tracks")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_overflow_tracks")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
<span class='overflow_tracks_help_icon'></span>
</dd>
</dl>
<dl>
<dt>
<label class='sp_text_font'><?php echo $this->element->getElement('sp_sort_options')->getLabel();?></label>
</dt>
<dd id='sp_sort-element'>
<?php echo $this->element->getElement('sp_sort_options') ?>
<?php if($this->element->getElement("sp_sort_options")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_sort_options")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
</dd>
</dl>
</div>
</form>

View file

@ -10,7 +10,7 @@ if (isset($this->obj)) {
<H2><?php echo(_("Editing "));?>"<span class="title_obj_name"><?php if (isset($this->unsavedName)) echo $this->unsavedName;
else echo $this->escape($this->obj->getName());?></span>"</H2>
</div>
<div class="inner_editor_wrapper">
<div class="inner_editor_wrapper smart-block-form">
<input class="obj_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"/>
<input class="obj_lastMod" type="hidden" value="<?php echo $this->obj->getLastModified('U'); ?>"/>
<input class='obj_type' type='hidden' value='block'/>
@ -25,17 +25,22 @@ if (isset($this->obj)) {
else echo $this->escape($this->obj->getName());
?>">
</dd>
<dt id="description-label"><label for="description"><?php echo _("Description:") ?></label></dt>
<dd id="description-element">
<textarea cols="24" rows="3" id="description" name="description"><?php
if (isset($this->unsavedDesc)) echo $this->unsavedDesc;
else echo $this->obj->getDescription();
?></textarea>
</dd>
</dl>
<?php echo $this->form; ?>
<div class="smart-block-advanced">
<dl>
<dt id="description-label"><label for="description"><?php echo _("Description:") ?></label></dt>
<dd id="description-element">
<textarea cols="24" rows="3" id="description" name="description"><?php
if (isset($this->unsavedDesc)) echo $this->unsavedDesc;
else echo $this->obj->getDescription();
?></textarea>
</dd>
</dl>
</div>
</div>
<div class="ui-widget-header fg-toolbar btn-toolbar clearfix">

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3383,6 +3383,18 @@ msgstr "Dynamický"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3396,6 +3396,18 @@ msgstr "Dynamisch"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3398,6 +3398,18 @@ msgstr "Dynamisch"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3383,6 +3383,18 @@ msgstr "Δυναμικό"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3383,6 +3383,18 @@ msgstr "Dynamic"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3384,6 +3384,18 @@ msgstr "Dynamic"
msgid "Allow Repeated Tracks:"
msgstr "Allow Repeated Tracks:"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr "Sort Tracks:"

View file

@ -3383,6 +3383,18 @@ msgstr "Dynamic"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3395,6 +3395,18 @@ msgstr "Dinámico"
msgid "Allow Repeated Tracks:"
msgstr "Permitir Pistas Repetidas:"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr "Ordenar Pistas:"

View file

@ -3383,6 +3383,18 @@ msgstr "Dynamique"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3382,6 +3382,18 @@ msgstr "Dinamički"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3567,6 +3567,18 @@ msgstr "Dinamikus"
msgid "Allow Repeated Tracks:"
msgstr "Ismétlődő sávok engedélyezése:"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr "Sávok rendezése:"

View file

@ -3376,6 +3376,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3384,6 +3384,18 @@ msgstr "Dinamico"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3382,6 +3382,18 @@ msgstr "自動生成スマート・ブロック"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3377,6 +3377,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3380,6 +3380,18 @@ msgstr "동적(Dynamic)"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3380,6 +3380,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3386,6 +3386,18 @@ msgstr "Dynamisch"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3383,6 +3383,18 @@ msgstr "Dynamiczny"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3384,6 +3384,18 @@ msgstr "Dinâmico"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3402,6 +3402,18 @@ msgstr "Динамический"
msgid "Allow Repeated Tracks:"
msgstr "Разрешить повторение треков:"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr "Сортировка треков:"

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3382,6 +3382,18 @@ msgstr "Динамички"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3382,6 +3382,18 @@ msgstr "Dinamički"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3379,6 +3379,18 @@ msgstr ""
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3380,6 +3380,18 @@ msgstr "Dinamik"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -3382,6 +3382,18 @@ msgstr "动态"
msgid "Allow Repeated Tracks:"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:453
msgid "Allow last track to exceed time limit:"
msgstr ""
#: airtime_mvc/application/views/scripts/playlist/update.phtml:25
msgid "</br>This is only a preview of possible content generated by the smart block based upon the above criteria."
msgstr ""
#: airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml:82
msgid "Advanced options"
msgstr ""
#: airtime_mvc/application/forms/SmartBlockCriteria.php:308
msgid "Sort Tracks:"
msgstr ""

View file

@ -518,6 +518,7 @@ li.ui-state-default {
left: 4px;
overflow-x: hidden; /* Show the y-direction scrollbar (magic!) */
color: #efefef;
justify-content: stretch;
}
.angular_wrapper a {
@ -549,6 +550,13 @@ li.ui-state-default {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.inner_editor_wrapper.smart-block-form {
-webkit-flex: 0 0 auto;
-moz-flex: 0 0 auto;
-ms-flex: 0 0 auto;
-o-flex: 0 0 auto;
flex: 0 0 auto;
}
.angular_wrapper > .inner_editor_wrapper {
max-height: none;
@ -684,20 +692,6 @@ li.ui-state-default {
height: 26px;
}
.smart-block-form input[type='radio'] {
vertical-align: bottom;
margin: 0 5px -2px;
}
.smart-block-form input[type='checkbox'] {
vertical-align: bottom;
margin: 0 4px;
}
.smart-block-form ~ .btn-toolbar {
padding-top: 4px;
}
/* Schedule tab DataTable */
#show_builder_table_wrapper .fg-toolbar.ui-corner-tl.ui-corner-tr {

View file

@ -634,4 +634,41 @@ li.spl_empty {
#criteria_add {
margin-bottom: 5px;
}
.smart-block-form dt, .smart-block-form dd {
float: none;
}
.smart-block-form dl:not(.search-criteria) {
display: flex;
width: 100%;
}
.smart-block-form dt {
flex: 1 0 20%;
margin: 0;
}
.smart-block-form dd {
flex: 0 0 80%;
margin: 0;
}
.collapsible-header .arrow-icon {
transition: 0.3s;
}
.collapsible-header.visible .arrow-icon {
transform: rotate(90deg);
}
.smart-block-advanced {
display: none;
}
.smart-block-form .smart-block-advanced dt {
flex: 0 0 40%;
margin: 0;
}
.smart-block-form .smart-block-advanced dd {
flex: 0 0 60%;
margin: 0;
}
.smart-block-form input[type='radio'], .smart-block-form input[type='checkbox'] {
vertical-align: middle;
margin: 0 5px;
}

View file

@ -566,6 +566,11 @@ function setupUI() {
at: "right center"
}
});
activeTab.find('.collapsible-header').off('click').on('click', function(){
$(this).toggleClass('visible');
$('.smart-block-advanced').toggle();
});
}
/* Utilizing jQuery this function finds the #datetime_select element on the given row