Browse Source

add text about save before testing

causefx 8 years ago
parent
commit
bb5d61aba0

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -955,7 +955,7 @@ function getSonarrCalendar($array, $number)
 		if ($downloaded == "0" && isset($unaired) && $episodePremier == "true") {
 			$downloaded = "text-primary animated flash";
 		} elseif ($downloaded == "0" && isset($unaired) && $monitored == "0") {
-			$downloaded = "text-dark";	
+			$downloaded = "text-dark";
 		} elseif ($downloaded == "0" && isset($unaired)) {
 			$downloaded = "text-info";
 		} elseif ($downloaded == "1") {

+ 7 - 7
api/functions/homepage-functions.php

@@ -590,7 +590,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',
@@ -769,7 +769,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',
@@ -836,7 +836,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',
@@ -1068,7 +1068,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',
@@ -1167,7 +1167,7 @@ function getHomepageList()
 						'value' => $GLOBALS['calendarRefresh'],
 						'options' => $time
 					),
-										array(
+					array(
 						'type' => 'switch',
 						'name' => 'sonarrUnmonitored',
 						'label' => 'Show Unmonitored',
@@ -1177,7 +1177,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',
@@ -1280,7 +1280,7 @@ function getHomepageList()
 				'Test Connection' => array(
 					array(
 						'type' => 'blank',
-						'label' => ''
+						'label' => 'Please Save before Testing'
 					),
 					array(
 						'type' => 'button',