Title: [opsview] [12004] Management URLs open in a new window for http and https methods
- Revision
- 12004
- Author
- dferguson
- Date
- 2013-04-09 11:20:45 +0100 (Tue, 09 Apr 2013)
Log Message
Management URLs open in a new window for http and https methods
Previously they opened in the same window, losing the current content.
All other methods such as ssh should behave as now.
Modified Paths
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2013-04-09 09:17:35 UTC (rev 12003)
+++ trunk/CHANGES 2013-04-09 10:20:45 UTC (rev 12004)
@@ -11,6 +11,7 @@
Any new Opspacks will be installed upon future upgrades
New Opspack: MySQL Server, replacing existing MySQL
New Opspack: Apache HTTP Server, replacing existing Apache HTTP
+ Management URLs open in a new window for http and https methods
NOTICES:
Removed OS - Linux Advanced opspack from fresh installs
FIXES:
===================================================================
--- trunk/opsview-web/root/state/host/menu 2013-04-09 09:17:35 UTC (rev 12003)
+++ trunk/opsview-web/root/state/host/menu 2013-04-09 10:20:45 UTC (rev 12004)
@@ -8,8 +8,9 @@
IF opsview_host.list_managementurls.size -%]
<span class="menu_title_link"><a href="" c.config.help_url _ "hosttemplate#management_urls" %]" target="opsview-help">[% c.loc("ui.menu.host.label.manageBy") | html %]</a>:</span>
+
[% FOREACH mgt IN opsview_host.list_managementurls ; %]
- <a href="" mgt.url %]">[% mgt.name | html %]</a>
+ <a href="" mgt.url %]" [% mgt.url.search('http') ? 'target="_blank"' : '' %]>[% mgt.name | html %]</a>
[% END %]
<br />
[%- END -%]
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins