From b0bfe200c99ef4f238060db8c52354957d422657 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Tue, 22 Jan 2019 19:48:26 -0500 Subject: [PATCH] Remove gittip --- README.md | 6 +++++- blogs/templates/blogs/themes/default/base.html | 3 --- blogs/templates/blogs/themes/pro-adams/base.html | 6 ------ media/js/src/modules/partials/blogging.html | 7 ------- snipts/templates/snipts/snipt-list.html | 3 --- templates/profile.html | 3 --- 6 files changed, 5 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 604458b..ef29b72 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Siftie Snippets -## Running locally: +## Running locally - Clone the repo. - `cd snippets` @@ -18,6 +18,10 @@ - `python manage.py update_index` // optional if you have a local DB dump with snippets - `make run` +## Deploying on Dokku + +- Elasticsearch 2.x only! + ## Automatic deploy to Heroku You can click the button below to automatically deploy Siftie Snippets to Heroku. diff --git a/blogs/templates/blogs/themes/default/base.html b/blogs/templates/blogs/themes/default/base.html index 1a53ba3..5d2be0b 100644 --- a/blogs/templates/blogs/themes/default/base.html +++ b/blogs/templates/blogs/themes/default/base.html @@ -17,9 +17,6 @@ {% block js %} {{ block.super }} window.blog_post = true; - {% if blog_user.profile.gittip_username %} - window.gittip_username = '{{ blog_user.profile.gittip_username }}'; - {% endif %} {% endblock %} {% block css %} diff --git a/blogs/templates/blogs/themes/pro-adams/base.html b/blogs/templates/blogs/themes/pro-adams/base.html index 90e58ff..0db1225 100644 --- a/blogs/templates/blogs/themes/pro-adams/base.html +++ b/blogs/templates/blogs/themes/pro-adams/base.html @@ -20,12 +20,6 @@ {% endif %} - {% if blog_user.profile.gittip_username %} - - {% endif %} - {% if debug %} diff --git a/media/js/src/modules/partials/blogging.html b/media/js/src/modules/partials/blogging.html index 343a9e5..58e1577 100644 --- a/media/js/src/modules/partials/blogging.html +++ b/media/js/src/modules/partials/blogging.html @@ -23,13 +23,6 @@
-
- -
- - Your Gittip username, if you have one. -
-
diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index 3795172..4d73a65 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -192,9 +192,6 @@ {% if snipt.user.profile.is_a_team %} Team {% endif %} - {% if snipt.user.profile.gittip_username %} - Tip - {% endif %} {% endblock %} {% if snipt.blog_post %} diff --git a/templates/profile.html b/templates/profile.html index 6312764..d9225de 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -74,8 +74,5 @@
{% endif %}
- {% if user.profile.gittip_username %} - Tip - {% endif %}
{% endif %}