Convert VMware fundraiser to new dynamic content.
Use the new dynamic content fundgoal stuff for VMware fundraiser.
This commit is contained in:
parent
732bf3b4c8
commit
51ebbc9cb8
2 changed files with 4 additions and 4 deletions
|
@ -19,9 +19,9 @@
|
||||||
|
|
||||||
<p>Support our GPL compliance work now & <strong>donation counts double!</strong></p>
|
<p>Support our GPL compliance work now & <strong>donation counts double!</strong></p>
|
||||||
|
|
||||||
$<span id="fundraiser-so-far">33,671.99</span>
|
$<span id="fundraiser-so-far">{{ fundgoal.fundraiser_so_far_amount|floatformat:0|intcomma }}</span>
|
||||||
of $<span id="fundraiser-goal">50,000</span> match met.<br/>
|
of $<span id="fundraiser-goal">{{ fundgoal.fundraiser_goal_amount|floatformat:0|intcomma }}</span> match met.<br/>
|
||||||
<div id="progressbar"><span id="fundraiser-percentage" style="float:right; align:center; margin-right:40%"></span></div>
|
<div id="progressbar"><span id="fundraiser-percentage">{{ fundgoal.percentage_there|floatformat:1 }}%</span></div>
|
||||||
|
|
||||||
<p>Donate now via PayPal:
|
<p>Donate now via PayPal:
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -61,7 +61,7 @@ urlpatterns = patterns('',
|
||||||
(r'^error', 'conservancy.static.views.index'),
|
(r'^error', 'conservancy.static.views.index'),
|
||||||
(r'^about', 'conservancy.static.views.index'),
|
(r'^about', 'conservancy.static.views.index'),
|
||||||
(r'^donate', 'conservancy.static.views.index'),
|
(r'^donate', 'conservancy.static.views.index'),
|
||||||
(r'^linux-compliance', 'conservancy.static.views.index'),
|
(r'^linux-compliance', 'conservancy.static.views.index', {'fundgoal' : fundgoal_lookup('vmware-match-0')}),
|
||||||
(r'^members', 'conservancy.static.views.index'),
|
(r'^members', 'conservancy.static.views.index'),
|
||||||
(r'^npoacct', 'conservancy.static.views.index', {'fundgoal' : fundgoal_lookup('npoacct')}),
|
(r'^npoacct', 'conservancy.static.views.index', {'fundgoal' : fundgoal_lookup('npoacct')}),
|
||||||
(r'^overview', 'conservancy.static.views.index'),
|
(r'^overview', 'conservancy.static.views.index'),
|
||||||
|
|
Loading…
Reference in a new issue