diff --git a/rootio/configuration/views.py b/rootio/configuration/views.py index 657d566..9639fa4 100755 --- a/rootio/configuration/views.py +++ b/rootio/configuration/views.py @@ -52,7 +52,9 @@ def index(): station.gws_in_telephony.append(gw.number_bottom) if station.gws_in_telephony: - station.host_number = min(station.gws_out_telephony) + # carlos fix + gws_out_telephony = station.gws_out_telephony if len(station.gws_out_telephony) > 0 else [0] + station.host_number = min(gws_out_telephony) if len(station.gws_in_telephony): if len(station.gws_in_telephony) > 2: station.call_in_number = station.gws_in_telephony[1] diff --git a/rootio/static/css/schedule.css b/rootio/static/css/schedule.css index dfe87b8..72cf64c 100755 --- a/rootio/static/css/schedule.css +++ b/rootio/static/css/schedule.css @@ -41,12 +41,12 @@ min-width: 10%; } -#music-program { - background: #3366CC; +.cloud-program { /* try to mimick the look of a real event */ + background:rgb(255, 204, 0); } -#cloud-program { - background: rgb(201, 204, 51); +.music-program { /* try to mimick the look of a real event */ + background:#3366CC; } #addable-programs li.recurring-button { diff --git a/rootio/templates/radio/music_program.html b/rootio/templates/radio/music_program.html index 5c4b1cb..46b79ee 100755 --- a/rootio/templates/radio/music_program.html +++ b/rootio/templates/radio/music_program.html @@ -72,7 +72,7 @@