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

update the "★ announcement ★" link #4149

Merged
merged 1 commit into from
May 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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