Add station rss subscribe link to radio page
This commit is contained in:
parent
e496072541
commit
093de68edb
3 changed files with 38 additions and 8 deletions
|
@ -60,6 +60,10 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->episodes = json_encode($episodes);
|
||||
$this->view->displayRssTab = (!Application_Model_Preference::getStationPodcastPrivacy());
|
||||
|
||||
$stationPodcast = PodcastQuery::create()->findOneByDbId($stationPodcastId);
|
||||
$url = $stationPodcast->getDbUrl();
|
||||
$this->view->stationPodcastRssUrl = $url;
|
||||
}
|
||||
|
||||
public function mainAction()
|
||||
|
|
|
@ -54,7 +54,8 @@
|
|||
|
||||
<?php
|
||||
if ($this->displayRssTab) {?>
|
||||
<div id="tab-4" class="station_rss tab_content">
|
||||
<div id="tab-4" class="podcast tab_content">
|
||||
<h2><?php echo _("Radio Archive") ?><a target="_blank" href="<?php echo $this->stationPodcastRssUrl ?>" class="rss_icon"><span>Subscribe </span><img src="css/radio-page/img/rss.png"></a></h2>
|
||||
<div id="jquery_jplayer_1" class="jp-player">
|
||||
</div>
|
||||
<div id="jp_container_1" class="jp-audio">
|
||||
|
|
|
@ -80,14 +80,14 @@ span.login-img {
|
|||
transition-delay: 2s;
|
||||
}
|
||||
|
||||
#schedule_iframe.schedule, .about_us, .login {
|
||||
#schedule_iframe.schedule, .about_us, .login, .podcast {
|
||||
/* -webkit-transition-delay: 1s;
|
||||
transition-delay: 1s;*/
|
||||
transition: all 0.4s ease;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.about_us.current, .login.current, .schedule.current {
|
||||
.about_us.current, .login.current, .schedule.current, .podcast.current {
|
||||
opacity: 1;
|
||||
-webkit-transition-delay: 0.4s;
|
||||
transition-delay: 0.4s;
|
||||
|
@ -111,13 +111,38 @@ span.login-img {
|
|||
margin: 10px;
|
||||
}
|
||||
|
||||
.login h2 {
|
||||
font-size: 28px;
|
||||
font-weight: 300;
|
||||
.podcast .rss_icon {
|
||||
width: 200px;
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
text-align: right;
|
||||
|
||||
}
|
||||
|
||||
.station_rss {
|
||||
background-color: #363636;
|
||||
.podcast .rss_icon span {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.podcast .rss_icon:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.podcast .rss_icon {
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.podcast .rss_icon img {
|
||||
width: 40px;
|
||||
vertical-align: middle;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
.login h2, .podcast h2 {
|
||||
font-size: 28px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue