From fc19e16c7da6856794b3c1f68b4d8962a08186ff Mon Sep 17 00:00:00 2001 From: Tony Lampada Date: Sat, 21 Dec 2013 17:23:16 -0200 Subject: [PATCH] Add project description --- djangoproject/sandbox/views.py | 6 +++++- djangoproject/templates/core2/project.html | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/djangoproject/sandbox/views.py b/djangoproject/sandbox/views.py index 74a7f1ce..c6143215 100644 --- a/djangoproject/sandbox/views.py +++ b/djangoproject/sandbox/views.py @@ -1,3 +1,4 @@ +# coding: utf-8 __author__ = 'tony' from django.shortcuts import render_to_response from django.template import RequestContext @@ -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 = { @@ -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, diff --git a/djangoproject/templates/core2/project.html b/djangoproject/templates/core2/project.html index 69a2c582..fbe94547 100644 --- a/djangoproject/templates/core2/project.html +++ b/djangoproject/templates/core2/project.html @@ -88,9 +88,9 @@

{{ project.name }}

Total Offered

-
US$ {{ stats.usd_open }} / US$ {{ stats.total_usd }}
+
US$ {{ stats.usd_open }} / {{ stats.total_usd }}
-
BTC {{ stats.btc_open }} / BTC {{ stats.total_btc }}
+
BTC {{ stats.btc_open }} / {{ stats.total_btc }}

Total Issues

{{ stats.issues_done }} Solved / {{ stats.issues_open }} Open