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

Commit

Permalink
Add link to package on npm
Browse files Browse the repository at this point in the history
Also cleans up link styles left over from when we were going to render
the entire README for packages.
  • Loading branch information
chadwhitacre committed Jan 25, 2017
1 parent df82de1 commit 6341dc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions scss/pages/on-npm-foo.scss

This file was deleted.

1 change: 0 additions & 1 deletion www/assets/gratipay.css.spt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@
@import "scss/pages/giving";
@import "scss/pages/settings";
@import "scss/pages/on-confirm";
@import "scss/pages/on-npm-foo";
@import "scss/pages/search";
@import "scss/pages/hall-of-fame";
2 changes: 1 addition & 1 deletion www/on/npm/%package/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ url = 'https://npmjs.com/package/' + package.name
{% block content %}
{% if user.ANON %}
<h2>{{ _( '{npm_package} has not been claimed on Gratipay.'
, npm_package='npm/' + package_name
, npm_package=('<a href="' + url + '">' + 'npm/' + package_name + '</a>')|safe
) }}</h2>
<p>{{ _('Is this yours? You can claim it on Gratipay with a couple clicks:') }}</p>
{% include "templates/sign-in-using.html" %}
Expand Down

0 comments on commit 6341dc7

Please sign in to comment.