Skip to content

Commit

Permalink
Add project description
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylampada committed Dec 21, 2013
1 parent def1c98 commit fc19e16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion djangoproject/sandbox/views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# coding: utf-8
__author__ = 'tony'
from django.shortcuts import render_to_response
from django.template import RequestContext
Expand Down Expand Up @@ -109,6 +110,9 @@ def project(request):

_project = {
'name': 'FreedomSponsors',
'description': u'Lorem Ipsum Dolor sit amet consectuis harem motion plus.\n'
u'Coloque 200 ml de água em uma panela, adicione o miojo, deixe\n'
u'ferver por 3 minutos. Adicione o tempero e pronto!',
'get_image3x1': '/static/img2/fs_logo.png',
}
_stats = {
Expand All @@ -119,7 +123,7 @@ def project(request):
'btc_paid': 4,
'btc_open': 6,
'total_issues': 10,
'total_usd': 10,
'total_usd': 100,
'total_btc': 10,
'percent_issues_open': 20,
'percent_issues_done': 80,
Expand Down
4 changes: 2 additions & 2 deletions djangoproject/templates/core2/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ <h3 class="arial green-text">{{ project.name }}</h3>
<div class="column" style="width:200px;">
<div class="fs-box border-box">
<h4 class="arial">Total Offered</h4>
<div><span class="green-text" title="US$ {{ stats.usd_open }} already paid to developers">US$ {{ stats.usd_open }}</span> / <span title="US$ {{ stats.total_usd }} offered to developers on issues">US$ {{ stats.total_usd }}</span></div>
<div><span class="green-text" title="US$ {{ stats.usd_open }} already paid to developers">US$ {{ stats.usd_open }}</span> / <span title="US$ {{ stats.total_usd }} offered to developers on issues">{{ stats.total_usd }}</span></div>
<div class="vgap-5"><!-- Vertical Gap 5px --></div>
<div><span class="green-text" title="BTC {{ stats.btc_open }} already paid to developers">BTC {{ stats.btc_open }}</span> / <span title="BTC {{ stats.total_btc }} being offered to developers on issues">BTC {{ stats.total_btc }}</span></div>
<div><span class="green-text" title="BTC {{ stats.btc_open }} already paid to developers">BTC {{ stats.btc_open }}</span> / <span title="BTC {{ stats.total_btc }} being offered to developers on issues">{{ stats.total_btc }}</span></div>
<div class="vgap-15"><!-- Vertical Gap 15px --></div>
<h4 class="arial">Total Issues</h4>
<p><span class="green-text" title="{{ stats.issues_done }} issues solved">{{ stats.issues_done }} Solved</span> / <span title="{{ stats.issues_open }} issues open">{{ stats.issues_open }} Open</span></p>
Expand Down

0 comments on commit fc19e16

Please sign in to comment.