SAAS-1213: Fix Podcast privacy settings radio button layout
This commit is contained in:
parent
b94164107f
commit
b268028e6a
4 changed files with 24 additions and 5 deletions
|
@ -10,8 +10,12 @@ class Application_Form_PodcastPreferences extends Zend_Form_SubForm {
|
|||
_("Public"),
|
||||
_("Private"),
|
||||
));
|
||||
$stationPodcastPrivacy->setSeparator(' ');
|
||||
$stationPodcastPrivacy->addDecorator('HtmlTag', array('tag' => 'dd',
|
||||
'id'=>"stationPodcastPrivacy-element",
|
||||
'class' => 'radio-inline-list',
|
||||
));
|
||||
$stationPodcastPrivacy->setValue($isPrivate);
|
||||
$stationPodcastPrivacy->setDecorators(array('ViewHelper', 'Label'));
|
||||
$this->addElement($stationPodcastPrivacy);
|
||||
|
||||
$stationPodcast = PodcastQuery::create()->findOneByDbId(Application_Model_Preference::getStationPodcastId());
|
||||
|
@ -22,7 +26,6 @@ class Application_Form_PodcastPreferences extends Zend_Form_SubForm {
|
|||
->setRequired(false)
|
||||
->setLabel(_("Feed URL"))
|
||||
->setValue($url);
|
||||
$feedUrl->setDecorators(array('ViewHelper', 'Label'));
|
||||
$this->addElement($feedUrl);
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,17 @@
|
|||
|
||||
<h3 class="collapsible-header" id="podcast-heading"><span class="arrow-icon"></span><?php echo _("Privacy Settings"); ?></h3>
|
||||
<div class="collapsible-content" id="podcast-settings">
|
||||
<?php echo $this->form->getSubform('preferences_podcast') ?>
|
||||
<fieldset class="padded">
|
||||
<dl>
|
||||
<?php echo $this->form->getSubform('preferences_podcast')->getElement("stationPodcastPrivacy")->renderLabel() ?>
|
||||
<div id="podcast-privacy-options">
|
||||
<?php echo $this->form->getSubform('preferences_podcast')->getElement("stationPodcastPrivacy")->renderViewHelper() ?>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<?php echo $this->form->getSubform('preferences_podcast')->getElement("stationPodcastFeedUrl") ?>
|
||||
|
||||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<p id="station_podcast_help_text">
|
||||
|
|
|
@ -41,9 +41,14 @@
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
#podcast-settings #podcast-privacy-options label {
|
||||
width: 12%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#podcast-settings label > input {
|
||||
width: auto;
|
||||
margin: 6px 6px 0 25%;
|
||||
margin: 6px 6px 0 0%;
|
||||
}
|
||||
|
||||
label {
|
||||
|
|
|
@ -1195,7 +1195,8 @@ input[type="checkbox"] {
|
|||
}
|
||||
|
||||
#pref_form dt, #pref_form dd,
|
||||
#pref_form textarea, #clientdetails_form dd {
|
||||
#pref_form textarea, #clientdetails_form dd,
|
||||
.podcast-metadata dt, .podcast-metadata dd {
|
||||
display:block;
|
||||
float:none;
|
||||
margin-left:0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue