-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ZMS-3401): added new calldisplay layouts (#714)
- Loading branch information
1 parent
bfac3c6
commit 25b8597
Showing
7 changed files
with
232 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/custom_templates/page/customized/default_tisch.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 10; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/custom_templates/page/customized/default_tisch6.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 6; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/custom_templates/page/customized/default_tisch8.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 8; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/templates/page/customized/default_tisch.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 10; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/templates/page/customized/default_tisch6.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 6; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|
38 changes: 38 additions & 0 deletions
38
zmscalldisplay/templates/page/customized/default_tisch8.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "page/customized/base.twig" %} | ||
|
||
{% block content %} | ||
{% set skipAll = 1 %} | ||
{% set skipClock = 0 %} | ||
{% set skipClients = 0 %} | ||
{% set skipTime = 0 %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block tableLayoutSettings %} | ||
<script type="text/javascript"> | ||
// Allow multiple columns | ||
window.bo.zmscalldisplay.tableLayout.multiColumns = 2; | ||
// Maximum rows per column | ||
window.bo.zmscalldisplay.tableLayout.maxResults = 8; | ||
// Label on left side of table | ||
window.bo.zmscalldisplay.tableLayout.head.left = 'Nummer'; | ||
window.bo.zmscalldisplay.tableLayout.head.left_en = 'Number'; | ||
// Label on right side of table | ||
window.bo.zmscalldisplay.tableLayout.head.right = 'Tisch'; | ||
window.bo.zmscalldisplay.tableLayout.head.right_en = 'Desk'; | ||
// Time in seconds to show a new number highlighted | ||
window.bo.zmscalldisplay.queue.timeUntilOld = 60; | ||
// Time in seconds to reload waiting info | ||
window.bo.zmscalldisplay.queue.timeWaitingInfo = 20; | ||
// called=ohne Abholer; pickup=nur Abholer | ||
//window.bo.zmscalldisplay.queue.status = 'called'; | ||
// On true show "123" instead of "123a" for room/place | ||
window.bo.zmscalldisplay.queue.showOnlyNumeric = false; | ||
// Seconds to reload table | ||
window.bo.zmscalldisplay.reloadInterval = 5; | ||
{% if displayNumber %} | ||
window.bo.zmscalldisplay.display = {{ displayNumber }}; | ||
{% endif %} | ||
</script> | ||
{% endblock %} | ||
|