Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
develop the receiving section
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Feb 9, 2015
1 parent 033188a commit 177bf3d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions www/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,20 @@ friends_hack = website.db.all("""

<h2>{{ _("You receive {0} per week", format_currency(participant.receiving, 'USD')) }}</h2>

<p>To receive money, do something awesome and then tell people
about it! Fill out <a href="">your profile</a> and see our <a
href="">About Receiving</a> guide for more suggestions.</p>
{% if not participant.accepts_tips %}
<p>{{ _("You are currently declining tips, you can change that {0}on your profile{1}.",
"<a href='/"+ user.participant.username + "/'>", "</a>") }}</p>
{% elif participant.goal and participant.receiving >= participant.goal %}
<p>{{ _("Congratulations, you have reached your goal of receiving {0} per week!", participant.goal) }}</p>
{% else %}
<p>{{ _("To receive money, do something awesome and then tell people about it:") }}</p>
<ol>
<li>{{ _("{0}Fill out your profile{1} to let others know about you.",
"<a href='/"+ user.participant.username + "/'>", "</a>") }}</li>
<li>{{ _("Reach a wider audience by {0}embedding our widgets{1} on your blog/website.",
"<a href='/"+ user.participant.username + "/widgets'>", "</a>") }}</li>
</ol>
{% endif %}

{% include "templates/team-listing.html" %}
{% include "templates/community-listing.html" %}
Expand Down

0 comments on commit 177bf3d

Please sign in to comment.