Index: trunk/extensions/ArticleAssessmentPilot/css/ArticleAssessment.css |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | } |
80 | 80 | .article-assessment-wrapper .field-wrapper { |
81 | 81 | float: left; |
82 | | - width: 250px; |
| 82 | + width: 270px; |
83 | 83 | padding-right: 28px; |
84 | 84 | } |
85 | 85 | .article-assessment-wrapper .rating-field { |
— | — | @@ -125,7 +125,7 @@ |
126 | 126 | } |
127 | 127 | .article-assessment-wrapper .article-assessment-rating-field-name { |
128 | 128 | float: left; |
129 | | - width: 90px; |
| 129 | + width: 110px; |
130 | 130 | font-weight: bold; |
131 | 131 | font-size: 11px; |
132 | 132 | } |
— | — | @@ -137,13 +137,13 @@ |
138 | 138 | float: left; |
139 | 139 | padding: 2px; |
140 | 140 | text-indent: -9999px; |
141 | | - margin-top: 2px; |
| 141 | + margin-top: 4px; |
142 | 142 | } |
143 | 143 | .article-assessment-wrapper .article-assessment-rate-instructions, |
144 | 144 | .article-assessment-wrapper .article-assessment-rate-feedback, |
145 | 145 | .article-assessment-wrapper .article-assessment-show-ratings, |
146 | 146 | .article-assessment-wrapper .article-assessment-hide-ratings { |
147 | | - font-size: 10px; |
| 147 | + font-size: 11px; |
148 | 148 | font-style: italic; |
149 | 149 | } |
150 | 150 | .article-assessment-wrapper .article-assessment-rate-instructions { |
Index: trunk/extensions/ArticleAssessmentPilot/js/ArticleAssessment.js |
— | — | @@ -269,8 +269,8 @@ |
270 | 270 | $rateControl.stars( 'select', rating.userrating ); |
271 | 271 | } |
272 | 272 | } |
273 | | - // if the rating is stale, add the stale class |
274 | | - if( data.query.articleassessment[0].revid < wgCurRevisionId ) { |
| 273 | + // if the rating is more than 5 revisions old, mark it as stale |
| 274 | + if( data.query.articleassessment[0].revid < wgCurRevisionId - 5 ) { |
275 | 275 | // add the stale star class to each on star |
276 | 276 | $( '.ui-stars-star-on' ) |
277 | 277 | .addClass( 'ui-stars-star-stale' ); |