Radio Page Code Review Changes
Reset stylesheets in index controller. Removed hardcoded days of week in WidgetHelper. Display schedule widget with 6 days after the current day.
This commit is contained in:
parent
ca8ca0abed
commit
042e441708
6 changed files with 23 additions and 22 deletions
|
@ -27,7 +27,7 @@
|
|||
<div class="schedule tab_content current">
|
||||
<ul class="tabs">
|
||||
<?php
|
||||
foreach($this->scheduleDataWeek1 as $day => $data) {
|
||||
foreach($this->weeklyScheduleData as $day => $data) {
|
||||
$activeClass = $this->currentDayOfMonth == $data["dayOfMonth"] ? "active" : "";
|
||||
echo "<li class='".$activeClass."' data-tab='day-".$data["dayOfMonth"]."'>" . $data["dayOfWeek"] . "<span>" . $data["dayOfMonth"] . "</span></li>";
|
||||
}?>
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
<div class="schedule_content">
|
||||
<?php
|
||||
foreach($this->scheduleDataWeek1 as $day => $data) {
|
||||
foreach($this->weeklyScheduleData as $day => $data) {
|
||||
$activeClass = $this->currentDayOfMonth == $data["dayOfMonth"] ? "active" : "";
|
||||
|
||||
echo "<div id='day-".$data["dayOfMonth"]."' class='schedule_item ".$activeClass."'>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue