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

Commit

Permalink
Merge pull request #4149 from gratipay/change-announcements
Browse files Browse the repository at this point in the history
update the "★ announcement ★" link
  • Loading branch information
mattbk authored May 17, 2017
2 parents bd25c87 + 79b49c5 commit bd6ef92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ <h1><a href="/"><img src="{{ website.asset('gratipay.svg') }}"
<table id="notice">
<tr>
<td>&#x2605;</td>
<td>{{ _( "{nowrap}Our new {a}Terms of Service{_a}{_nowrap} {nowrap}make it {a2}easier to get funded on Gratipay{_a}{_nowrap}."
<td>{{ _( "{nowrap}We have {a}integrated npm{_a} into Gratipay.{_nowrap}{_nowrap}"
, nowrap='<span class="nowrap">'|safe
, _nowrap='</span>'|safe
, a='<a href="/about/policies/terms-of-service">'|safe
, a2='<a href="https://gratipay.news/from-teams-to-projects-45c46718507b">'|safe
, a='<a href="https://gratipay.news/integrating-npm-39333109419d">'|safe
, _a='</a>'|safe
) }}</td>
<td>&#x2605;</td>
Expand Down
2 changes: 1 addition & 1 deletion tests/py/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def test_remove_notification(self):
assert alice.notifications == ["abcd", "bcde"]

def test_blog_announcement(self):
assert 'projects-45c46718507b">easier' in self.client.GET('/').body
assert 'integrating-npm-39333109419d">integrated' in self.client.GET('/').body

0 comments on commit bd6ef92

Please sign in to comment.