From 88c8f39480436ab30a58e1af79a7fe76f0beff5d Mon Sep 17 00:00:00 2001
From: djbadders <34887832+djbadders@users.noreply.github.com>
Date: Thu, 4 Feb 2021 22:57:54 +0000
Subject: [PATCH 1/6] Add active single market settings to SMS tool tip
---
Monitor/Pages/_get/TickerWidgets.cshtml | 6 +++++-
Monitor/Pages/_get/TickerWidgets.cshtml.cs | 21 +++++++++++++++------
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/Monitor/Pages/_get/TickerWidgets.cshtml b/Monitor/Pages/_get/TickerWidgets.cshtml
index fa948f6..659d4ed 100644
--- a/Monitor/Pages/_get/TickerWidgets.cshtml
+++ b/Monitor/Pages/_get/TickerWidgets.cshtml
@@ -3,13 +3,17 @@
@{
Layout = null;
+ // Single market settings tool tip
int activeSingleSettings = Model.MarketsWithSingleSettings.Count;
string singleSettingInfoIcon = "";
if (activeSingleSettings > 0) {
- singleSettingInfoIcon = "Single Market Settings active for:
-" + Core.Helper.SystemHelper.ConvertListToTokenString(Model.MarketsWithSingleSettings, "
-", true) + "\" data-template=\"
" + Core.Helper.SystemHelper.ConvertListToTokenString(Model.MarketsWithSingleSettings, "
", true) + "\" data-template=\"