lib/sensu-dashboard/views/layout.erb in sensu-dashboard-0.9.8.beta vs lib/sensu-dashboard/views/layout.erb in sensu-dashboard-0.9.8.beta.1

- old
+ new

@@ -51,9 +51,13 @@ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <!-- all our JS is at the bottom of the page, except for Modernizr. --> <script src="js/modernizr-1.7.min.js"></script> + <% if $settings['dashboard']['autorefresh'] %> + <!-- page autorefresh --> + <meta http-equiv="refresh" content="<%= $settings['dashboard']['autorefresh'] %>"> + <% end %> </head> <body> <div class="wrapper"><!-- not needed? up to you: http://camendesign.com/code/developpeurs_sans_frontieres -->