mozreview: hide trophies (bug 1267544) r?smacleod draft
authorbyron jones <glob@mozilla.com>
Fri, 08 Jul 2016 11:58:16 +0800
changeset 8760 57591c4030ddcae0dea9b3f2c7aa142575514f27
parent 8759 c53c6a52af7463676e4d036d264ee3dee26395bf
push id983
push userbjones@mozilla.com
push dateFri, 08 Jul 2016 03:58:38 +0000
reviewerssmacleod
bugs1267544
mozreview: hide trophies (bug 1267544) r?smacleod The fish trophy is, honestly, a waste of time, and we'll never hit milestone trophies. Unregistering the trophie classes from an extension doesn't appear to work, and if we modify the trophy code we'd have to update extra_data on all review requests to force a recalculation. Easiest option is to hide trophies with css. MozReview-Commit-ID: IIaSNP8uVZL
pylib/mozreview/mozreview/static/mozreview/css/common.less
--- a/pylib/mozreview/mozreview/static/mozreview/css/common.less
+++ b/pylib/mozreview/mozreview/static/mozreview/css/common.less
@@ -1,7 +1,12 @@
 #accountnav li {
   visibility: hidden;
 }
 
 #navbar a[href="/r/new/"] {
   display: none;
 }
+
+/* hide trophies */
+.yay {
+  display: none;
+}