[icinga-checkins] icinga.org: icinga-web/next: Fix Cosmetic Bug with Welcome Cronk and About Window (refs #3497)

git at icinga.org git at icinga.org
Thu Mar 14 11:44:27 CET 2013


Module: icinga-web
Branch: next
Commit: a4a6883cffc6a54e67f8ddf50b6f75ef7543f0d9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=a4a6883cffc6a54e67f8ddf50b6f75ef7543f0d9

Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Thu Mar 14 11:42:54 2013 +0100

Fix Cosmetic Bug with Welcome Cronk and About Window (refs #3497)

* in addition added target to the links

---

 .../Cronks/templates/System/PortalHelloSuccess.php |   20 ++++++++++----------
 app/modules/Web/templates/Icinga/HelpSuccess.php   |   10 +++++-----
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/app/modules/Cronks/templates/System/PortalHelloSuccess.php b/app/modules/Cronks/templates/System/PortalHelloSuccess.php
index de55e1f..e758c10 100755
--- a/app/modules/Cronks/templates/System/PortalHelloSuccess.php
+++ b/app/modules/Cronks/templates/System/PortalHelloSuccess.php
@@ -28,18 +28,18 @@
 <script type="text/javascript">
     Ext.onReady(function () {
         var lTitle = _("We're Icinga");
-        AppKit.util.Dom.makeImage('icinga-image-home', 'icinga.icinga-logo', { alt: lTitle , style: 'width: 200px' });
-        AppKit.util.Dom.makeImage('icinga-image-bugreport', 'icinga.bugreport', { alt: lTitle });
-        AppKit.util.Dom.makeImage('icinga-image-support', 'icinga.support', { alt: lTitle });
-        AppKit.util.Dom.makeImage('icinga-image-wiki', 'icinga.wiki', { alt: lTitle });
-        AppKit.util.Dom.makeImage('icinga-image-docs', 'icinga.docs', { alt: lTitle });
+        AppKit.util.Dom.makeImage('icinga-welcome-image-home', 'icinga.icinga-logo', { alt: lTitle , style: 'width: 200px' });
+        AppKit.util.Dom.makeImage('icinga-welcome-image-bugreport', 'icinga.bugreport', { alt: lTitle });
+        AppKit.util.Dom.makeImage('icinga-welcome-image-support', 'icinga.support', { alt: lTitle });
+        AppKit.util.Dom.makeImage('icinga-welcome-image-wiki', 'icinga.wiki', { alt: lTitle });
+        AppKit.util.Dom.makeImage('icinga-welcome-image-docs', 'icinga.docs', { alt: lTitle });
     });
 </script>
 
 <div class="icinga-cronk-welcome-frame">
     <div style="padding: 5px 200px 5px 20px;">
         <div style="width: 200px; padding: 5px; margin: 0 0 10px 0">
-            <a id="icinga-image-home" href="http://www.icinga.org/"></a>
+            <a id="icinga-welcome-image-home" href="http://www.icinga.org/" target="_blank"></a>
         </div>
         
         <h1>Welcome to <?php echo AgaviConfig::get('core.app_name'); ?> (<?php echo $version_string; ?>)</h1>
@@ -55,8 +55,8 @@
 </div>
 
 <p style="width: 800px; margin: 0 auto;">
-    <a id="icinga-image-bugreport" href="http://www.icinga.org/faq/how-to-report-a-bug/"></a>
-    <a id="icinga-image-support" href="http://www.icinga.org/support/"></a>
-    <a id="icinga-image-wiki" href="http://wiki.icinga.org/"></a>
-    <a id="icinga-image-docs" href="http://docs.icinga.org/"></a>
+    <a id="icinga-welcome-image-bugreport" href="http://www.icinga.org/faq/how-to-report-a-bug/" target="_blank"></a>
+    <a id="icinga-welcome-image-support" href="http://www.icinga.org/support/" target="_blank"></a>
+    <a id="icinga-welcome-image-wiki" href="http://wiki.icinga.org/" target="_blank"></a>
+    <a id="icinga-welcome-image-docs" href="http://docs.icinga.org/" target="_blank"></a>
 </p>
diff --git a/app/modules/Web/templates/Icinga/HelpSuccess.php b/app/modules/Web/templates/Icinga/HelpSuccess.php
index 5aa3866..d52bbe0 100755
--- a/app/modules/Web/templates/Icinga/HelpSuccess.php
+++ b/app/modules/Web/templates/Icinga/HelpSuccess.php
@@ -33,7 +33,7 @@
     });
 </script>
 <div style="width: 200px; margin: 0 auto;">
-    <a id="icinga-image-home" href="http://www.icinga.org/"></a>
+    <a id="icinga-image-home" href="http://www.icinga.org/" target="_blank"></a>
 </div>
 
 <h2 style="text-align: center;">
@@ -57,9 +57,9 @@
 </p>
 
 <p style="width: 400px; margin: 0 auto;">
-    <a id="icinga-image-bugreport" href="http://www.icinga.org/faq/how-to-report-a-bug/"></a>
-    <a id="icinga-image-support" href="http://www.icinga.org/support/"></a>
+    <a id="icinga-image-bugreport" href="http://www.icinga.org/faq/how-to-report-a-bug/" target="_blank"></a>
+    <a id="icinga-image-support" href="http://www.icinga.org/support/" target="_blank"></a>
     <br />
-    <a id="icinga-image-wiki" href="http://wiki.icinga.org/"></a>
-    <a id="icinga-image-docs" href="http://docs.icinga.org/"></a>
+    <a id="icinga-image-wiki" href="http://wiki.icinga.org/" target="_blank"></a>
+    <a id="icinga-image-docs" href="http://docs.icinga.org/" target="_blank"></a>
 </p>





More information about the icinga-checkins mailing list