Skip to content

Commit

Permalink
Some english changes, and also abstracted the hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
bsgreenb committed Feb 1, 2012
1 parent 4780568 commit 95062ee
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
# ('Your Name', '[email protected]'),
)

#Defaults + request processior
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.contrib.messages.context_processors.messages",
"django.core.context_processors.request",)


MANAGERS = ADMINS

DATABASES = {
Expand Down
2 changes: 1 addition & 1 deletion templates/backbone/form_errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="alert-message block-message error" id="form-error">
<a class="close" href="#">×</a>
<p>
<strong>You got an error!</strong>
<strong>An error occurred while processing your request</strong>
</p>
<ul>
{% for field in form %}
Expand Down
6 changes: 3 additions & 3 deletions templates/sharer.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
<input class="checkbox" type="checkbox" name="sharer_id" value="{{sharer.sharer_identifier}}"/>{{ sharer.sharer_identifier }}
</td>
<td>
<div><a href="http://wordout.me/{{sharer.code}}">wordout.me/{{ sharer.code }}</a></div>
<div><a href="http://{{request.get_host}}/{{sharer.code}}" target="_blank">{{request.get_host}}/{{ sharer.code }}</a></div>
<div class="redirect_link">{{ sharer.redirect_link }}</div>
</td>
<td>{{ sharer.click_total }}
Expand Down Expand Up @@ -309,9 +309,9 @@ <h3>Edit links</h3>

{% else %}
<div class="hero-unit">
<h1>Hello, world!</h1>
<h1>Get Started</h1>
<p>
Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
It's time to get started with creating a referral program. Click the "<B>Create Sharers</B>" button to
</p>

<p>
Expand Down

0 comments on commit 95062ee

Please sign in to comment.