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

Commit

Permalink
adapt to the changes from #2938
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Feb 9, 2015
1 parent 177bf3d commit 6132957
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% endif %}
</head>
{% set homepage = path.raw == '/' %}
<body id="{{ 'homepage' if homepage }}">
<body id="{{ 'homepage' if homepage and user.ANON }}">

<div id="wrapper">
<div id="header" class="clearfix">
Expand Down
2 changes: 2 additions & 0 deletions www/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ friends_hack = website.db.all("""
{% endblock %}

{% block sidebar %}
{% if user.ANON %}
<img src="{{ website.asset('gratipay.white.svg') }}" alt="Gratipay">
<h1>{{ _("Weekly Payments") }}</h1>
<p>{{ _("Motivated by Gratitude") }}</p>
Expand All @@ -60,6 +61,7 @@ friends_hack = website.db.all("""
"<span>", "</span>") }}</p>

<p><a href="/about/">{{ _("Learn more") }}</a></p>
{% endif %}
{% endblock %}

{% block heading %}{% endblock %}
Expand Down

0 comments on commit 6132957

Please sign in to comment.