aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/Room.php10
-rw-r--r--model/RoomTab.php3
2 files changed, 13 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index 782c91d..b20a0f0 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -159,6 +159,10 @@ class Room
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.MUSIC');
}
+ public function hasDash() {
+ return $this->getConference()->get('ROOMS.'.$this->getSlug().'.DASH');
+ }
+
public function hasTranslation() {
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.TRANSLATION');
}
@@ -181,6 +185,9 @@ class Room
if($this->hasMusic())
$selections[] = 'music';
+ if($this->hasDash())
+ $selections[] = 'dash';
+
return $selections;
}
@@ -199,6 +206,9 @@ class Room
if($this->hasMusic())
$tabs[] = 'music';
+ if($this->hasDash())
+ $tabs[] = 'dash';
+
return $tabs;
}
diff --git a/model/RoomTab.php b/model/RoomTab.php
index c7b564f..b986602 100644
--- a/model/RoomTab.php
+++ b/model/RoomTab.php
@@ -37,6 +37,9 @@ class RoomTab
case 'music':
return 'Radio';
+ case 'dash':
+ return 'DASH (beta)';
+
default:
return ucfirst($tab);
}