From 6341dc74cabd4d165583d02acdcdabbc2701b8c5 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 25 Jan 2017 08:50:38 -0500 Subject: [PATCH] Add link to package on npm Also cleans up link styles left over from when we were going to render the entire README for packages. --- scss/pages/on-npm-foo.scss | 7 ------- www/assets/gratipay.css.spt | 1 - www/on/npm/%package/index.html.spt | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 scss/pages/on-npm-foo.scss diff --git a/scss/pages/on-npm-foo.scss b/scss/pages/on-npm-foo.scss deleted file mode 100644 index e6142d70aa..0000000000 --- a/scss/pages/on-npm-foo.scss +++ /dev/null @@ -1,7 +0,0 @@ -#on-npm-foo { - #content { - a { - font-family: $Mono; - } - } -} diff --git a/www/assets/gratipay.css.spt b/www/assets/gratipay.css.spt index be26cc1214..71765ac61d 100644 --- a/www/assets/gratipay.css.spt +++ b/www/assets/gratipay.css.spt @@ -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"; diff --git a/www/on/npm/%package/index.html.spt b/www/on/npm/%package/index.html.spt index 3ed7e9338c..626306c03c 100644 --- a/www/on/npm/%package/index.html.spt +++ b/www/on/npm/%package/index.html.spt @@ -29,7 +29,7 @@ url = 'https://npmjs.com/package/' + package.name {% block content %} {% if user.ANON %}

{{ _( '{npm_package} has not been claimed on Gratipay.' - , npm_package='npm/' + package_name + , npm_package=('' + 'npm/' + package_name + '')|safe ) }}

{{ _('Is this yours? You can claim it on Gratipay with a couple clicks:') }}

{% include "templates/sign-in-using.html" %}