← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~matthew.revell/launchpad/also-affects-help-bug-117460 into lp:launchpad/devel

 

Matthew Revell has proposed merging lp:~matthew.revell/launchpad/also-affects-help-bug-117460 into lp:launchpad/devel.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  #117460 "Also affects project" doesn't provide any instructions
  https://bugs.launchpad.net/bugs/117460


This branch adds a help pop-up link beside the "Also affects project" link on the bug page.

I add the link in bugtasks-and-nominations-table.pt and add a also-affects-project-help.html file to the bugs/help directory.

You can test this by visiting https://bugs.launchpad.dev/redfish/+bug/15 and clicking the help icon beside the "Also affects project" link on the bug page.
-- 
https://code.launchpad.net/~matthew.revell/launchpad/also-affects-help-bug-117460/+merge/39751
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~matthew.revell/launchpad/also-affects-help-bug-117460 into lp:launchpad/devel.
=== added file 'lib/lp/bugs/help/also-affects-project-help.html'
--- lib/lp/bugs/help/also-affects-project-help.html	1970-01-01 00:00:00 +0000
+++ lib/lp/bugs/help/also-affects-project-help.html	2010-11-01 14:36:10 +0000
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <title>Adding another target to a bug report</title>
+    <link rel="stylesheet" type="text/css"
+          href="/+icing/yui/cssreset/reset.css" />
+    <link rel="stylesheet" type="text/css"
+          href="/+icing/yui/cssfonts/fonts.css" />
+    <link rel="stylesheet" type="text/css"
+          href="/+icing/yui/cssbase/base.css" />
+  </head>
+  <body>
+    <h1>Adding another target to a bug report</h1>
+
+    <p>
+      The same bug can crop up in different places.
+    </p>
+    
+    <p>         
+      Imagine a bug in a video driver. Not only do the video driver maintainers need to fix the bug in their code but so do the people who package that driver for Ubuntu and other distros.
+    </p>
+    
+    <p>
+      Of course, the version and packaging of that driver may differ between different releases of a particularly distro.
+    </p>
+    
+    <p>
+      And the bug may initially be reported against X.org or some other part of the operating system.
+    </p>
+    
+    <p>
+      Launchpad helps manage this by allowing bug reports to relate to more than one context.
+    </p>
+    
+    <p>
+      So, if you suspect that an existing bug also affects another project or distribution you can add it to the report. That bug report, with the same number and comment history, will then show up just like any other bug report for that project/distro.
+    </p>
+    
+    <h2>Where you can report a bug</h2>
+    
+    <p>
+      Launchpad can track bugs for:
+    </p>
+    
+    <ul>
+      <li>projects</li>
+      <li>project series</li>
+      <li>project groups</li>
+      <li>distributions</li>
+      <li>distro series</li>
+      <li>source pacakges</li>
+      <li>distro series source packages.</li>
+    </ul>
+      
+    <p>
+      <a href="https://help.launchpad.net/Bugs/MultiProjectBugs";>Read more about multi-context bugs &gt;</a>
+    </p>
+  </body>
+</html>

=== modified file 'lib/lp/bugs/templates/bugtasks-and-nominations-table.pt'
--- lib/lp/bugs/templates/bugtasks-and-nominations-table.pt	2010-06-15 13:51:55 +0000
+++ lib/lp/bugs/templates/bugtasks-and-nominations-table.pt	2010-11-01 14:36:10 +0000
@@ -103,7 +103,8 @@
     <tal:addupstream
         define="link context_menu/addupstream"
         condition="link/enabled"
-        replace="structure link/render" />
+        replace="structure link/render" /><a href="/+help/also-affects-project-help.html" target="help" class="sprite maybe">&nbsp;
+             <span class="invisible-link">(?)</span></a>
     <tal:adddistro
         define="link context_menu/adddistro"
         condition="link/enabled"
@@ -113,6 +114,7 @@
         condition="link/enabled"
         replace="structure link/render" />
   </tal:also-affects-links>
+
 </div>
 
 </tal:root>