← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~matthew.revell/launchpad/karma-help-bug93410 into lp:launchpad

 

Matthew Revell has proposed merging lp:~matthew.revell/launchpad/karma-help-bug93410 into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~matthew.revell/launchpad/karma-help-bug93410/+merge/61566

Adds a help icon next to the karma score on a person overview page and a help link after the introductory sentence on /people/+me/+karma

These link to a help pop-up that briefly explains karma and then links to the fuller help wiki page. Fixes bug 93410
-- 
https://code.launchpad.net/~matthew.revell/launchpad/karma-help-bug93410/+merge/61566
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~matthew.revell/launchpad/karma-help-bug93410 into lp:launchpad.
=== added file 'lib/lp/registry/help/karma.html'
--- lib/lp/registry/help/karma.html	1970-01-01 00:00:00 +0000
+++ lib/lp/registry/help/karma.html	2011-05-19 13:25:13 +0000
@@ -0,0 +1,37 @@
+<html>
+  <head>
+    <title>What is karma?</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>What is karma?</h1>
+
+    <p>
+      Karma is one way of showing how large a contribution someone has made
+      in Launchpad.
+    </p>
+    
+    <p>
+      Almost everything you do in Launchpad helps you to build karma. For 
+      example: registering bugs, translating strings and answering support 
+      requests. Your karma is a reflection of the type of work you've done 
+      and when you did it.
+    </p>
+    
+    <p>
+      Karma is only attributed for work done in Launchpad and does not 
+      apply to items imported from other sources.
+    </p>
+
+    <p>
+      <a href="https://help.launchpad.net/YourAccount/Karma"; target="top">Read about how Launchpad calculates karma</a>.
+    </p>
+
+
+  </body>
+</html>

=== modified file 'lib/lp/registry/templates/person-karma.pt'
--- lib/lp/registry/templates/person-karma.pt	2009-09-08 14:56:59 +0000
+++ lib/lp/registry/templates/person-karma.pt	2011-05-19 13:25:13 +0000
@@ -13,7 +13,7 @@
       <p class="application-summary">
         This is a summary of the Launchpad karma earned by
         <span tal:replace="context/displayname" />, organized by activity
-        type.
+        type. (<a href="/+help/karma.html" target="help">What is karma?</a>)
       </p>
 
       <p id="no-karma" tal:condition="not: view/has_karma">

=== modified file 'lib/lp/registry/templates/person-portlet-contact-details.pt'
--- lib/lp/registry/templates/person-portlet-contact-details.pt	2010-12-01 22:05:51 +0000
+++ lib/lp/registry/templates/person-portlet-contact-details.pt	2011-05-19 13:25:13 +0000
@@ -198,6 +198,8 @@
       <dd><a id="karma-total"
              tal:attributes="href overview_menu/karma/url"
              tal:content="context/karma">342</a>
+          <a target="help" href="/+help/karma.html" class="sprite maybe">&nbsp;
+          <span class="invisible-link">Karma help</span></a>
       </dd>
     </dl>
   </div>


Follow ups