Fixed servers stats configuration form not showing after update.
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 15 Sep 2016 14:37:34 +0000 (10:37 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 15 Sep 2016 14:37:34 +0000 (10:37 -0400)
views/admin/management/serverStats.html

index 8342b02..793ce2b 100644 (file)
@@ -7,8 +7,12 @@
 
     <!--  Server Settings  -->
     <div id="glm-table-serverstats-server" class="glm-settings-table">
-    
-{if $option == 'settings'}    
+
+    <!-- Flashing Notices -->
+    {if $settingsUpdated}<h2 class="glm-notice glm-flash-updated glm-right">Settings Updated</h2>{/if}
+    {if $settingsUpdateError}<span class="glm-error glm-flash-updated glm-right">Settings Update Error</span>{/if}
+
+{if $option == 'settings' || $option == 'submit'}    
         {if $dbError != ''}
         <h2 class="glm-error">Unable to test database connection!</h2>
         <p><b>Error reported:</b> {$dbError}</p>
             <table class="glm-admin-table">
             
                 <!-- Settings for talking with the Bandwidth Database -->
-            
-                <tr>
-                    <td colspan="2">
-                        {if $settingsUpdated}<h2 class="glm-notice glm-flash-updated glm-right">Settings Updated</h2>{/if}
-                        {if $settingsUpdateError}<span class="glm-error glm-flash-updated glm-right">Settings Update Error</span>{/if}
-                    </td>
-                </tr>
                 <tr>
                     <th>Enabled:</th>
                     <td>