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

Commit

Permalink
Changed the announcement on all pages but %username pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kaguillera committed Oct 20, 2016
1 parent c06676f commit fb28dd6
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,23 @@ <h1><a href="/"><img src="{{ website.asset('gratipay.svg') }}"
<div id="banner">
{% block banner %}{% if banner %}<h1>{{ banner }}</h1>{% endif %}{% endblock %}
</div>
{% if not request.path.raw.startswith('/fund-open-source/') %}
<table id="notice">
<tr>
<td>&#x2605;</td>
<td>{{ _( "{nowrap}You can pay for any npm package.{_nowrap} {nowrap}{a}Start Here!!{_a}{_nowrap}"
, nowrap='<span class="nowrap">'|safe
, _nowrap='</span>'|safe
, a='<a href="/on/npm/">'|safe
, _a='</a>'|safe
) }}</td>
<td>&#x2605;</td>
</tr>
</table>
{% endif %}

{% if request.path.raw != '/1.0-payout' %}
{% if not user.participant or user.participant.status_of_1_0_payout == 'pending-application' %}
{% if user.participant and request.path.raw.startswith('/~/%s/' % user.participant.username) %}
{% if user.participant.status_of_1_0_payout == 'pending-application' %}
<table id="notice">
<tr>
<td>&#x2605;</td>
Expand Down

0 comments on commit fb28dd6

Please sign in to comment.