From e48e1c9aa72f71cb6c8caaf564571eacde09c531 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Fri, 16 Sep 2016 18:08:39 +0200
Subject: fixed music pool selector modal


diff --git a/www/js/musicgrid.js b/www/js/musicgrid.js
index 80b8735..7c7c0b3 100644
--- a/www/js/musicgrid.js
+++ b/www/js/musicgrid.js
@@ -103,9 +103,10 @@ Rdxport.MusicpoolModal.prototype.selectClock = function(dow, hour, clockName) {
   $('#musicpoolModal').modal({keyboard: true});
 
   var $modalBody = $('#musicpoolModal .modal-body');
+  var $modalHeader = $('#musicpoolModal .modal-header');
 
-  $('h4', $modalHeader).text('Musikpool auswählen für Tag: ' + dow + ' Stunde: ' + hour + '.');
-
+  var hourstr = Number(hour).pad(2) + ':00-' + Number(Number(hour) + 1).pad(2) + ':00';
+  $('h4', $modalHeader).text('Musikpool auswählen für: ' + weekday[dow] + ' ' + hourstr);
   $('tbody', $modalBody).empty();
 
   var self = this;
-- 
cgit v0.10.2