r59209 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59208‎ | r59209 | r59210 >
Date:19:59, 18 November 2009
Author:tomasz
Status:ok
Tags:
Comment:
picking up r59176
Modified paths:
  • /branches/wmf-deployment/extensions/ContributionReporting (modified) (history)
  • /branches/wmf-deployment/extensions/ContributionReporting/FundraiserStatistics.css (modified) (history)
  • /branches/wmf-deployment/extensions/ContributionReporting/FundraiserStatistics_body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/ContributionReporting/FundraiserStatistics_body.php
@@ -79,7 +79,7 @@
8080 $days = $this->getDailyTotals( $fundraiser['start'], $fundraiser['end'] );
8181 foreach( $sources as $chart => $source ) {
8282 $column = 0;
83 - $factor = 200 / $max[$source];
 83+ $factor = 300 / $max[$source];
8484 // Build bars for chart
8585 foreach( $days as $i => $day ) {
8686 $height = $factor * $day[$source];
@@ -129,7 +129,7 @@
130130 ) .
131131 Xml::tags( 'tr', null,
132132 Xml::element( 'td', $tdLabelAttributes, wfMsg( 'fundraiserstats-contributions' ) ) .
133 - Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[2], 2 ) ) ) .
 133+ Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[2] ) ) ) .
134134 Xml::element( 'td', $tdLabelAttributes, wfMsg( 'fundraiserstats-avg' ) ) .
135135 Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[3], 2 ) ) )
136136 )
Index: branches/wmf-deployment/extensions/ContributionReporting/FundraiserStatistics.css
@@ -1,7 +1,10 @@
22 .fundraiserstats-view-box {
3 - width: 100%;
43 border: solid 1px silver;
54 }
 5+.fundraiserstats-view-box h3 {
 6+ margin-top: 0;
 7+ padding-top: 0;
 8+}
69 .fundraiserstats-today {
710 position: absolute;
811 width: 6px;
@@ -13,16 +16,21 @@
1417 .fundraiserstats-bar-2007 {
1518 background-color: #AAAAFF;
1619 border: outset 1px #AAAAFF;
17 - width: 3px;
 20+ width: 2px;
1821 margin-left: 3px;
1922 }
2023 .fundraiserstats-bar-2008 {
2124 background-color: #AAFFAA;
2225 border: outset 1px #AAFFAA;
23 - width: 3px;
 26+ width: 2px;
2427 }
 28+.fundraiserstats-bar-2009 {
 29+ background-color: #FFAAAA;
 30+ border: outset 1px #FFAAAA;
 31+ width: 2px;
 32+}
2533 .fundraiserstats-bar-space {
26 - width: 3px;
 34+ width: 2px;
2735 }
2836 .fundraiserstats-chart {
2937 padding: 10px;
Property changes on: branches/wmf-deployment/extensions/ContributionReporting
___________________________________________________________________
Name: svn:mergeinfo
3038 - /branches/REL1_15/phase3/extensions/ContributionReporting:51646
/trunk/extensions/ContributionReporting:56151-57449,58684,58687-59049,59134-59163
/trunk/extensions/ContributionTracking:58684
/trunk/phase3/extensions/ContributionReporting:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57541,57916,58151,58219,58633,58816
3139 + /branches/REL1_15/phase3/extensions/ContributionReporting:51646
/trunk/extensions/ContributionReporting:56151-57449,58684,58687-59049,59134-59163,59176
/trunk/extensions/ContributionTracking:58684
/trunk/phase3/extensions/ContributionReporting:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57541,57916,58151,58219,58633,58816

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59176Added CSS for 2009 fundraiser to make the data visible. Also made some adjust...tparscal18:16, 17 November 2009

Status & tagging log