Remove gittip

master
Nick Sergeant 2019-01-22 19:48:26 -05:00
parent f25ff03a7c
commit b0bfe200c9
6 changed files with 5 additions and 23 deletions

View File

@ -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.

View File

@ -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 %}

View File

@ -20,12 +20,6 @@
<meta name="robots" content="noindex, follow" />
{% endif %}
{% if blog_user.profile.gittip_username %}
<script type="text/javascript" charset="utf-8">
window.gittip_username = '{{ blog_user.profile.gittip_username }}';
</script>
{% endif %}
{% if debug %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/pro-adams/style.css" />

View File

@ -23,13 +23,6 @@
</div>
</div>
<div class="def" data-title="Services">
<div class="control-group" ng-class="{error: errors.gittip_username}">
<label class="control-label" for="id_gittip_username">Gittip username:</label>
<div class="controls">
<input id="id_gittip_username" type="text" ng-model="user.gittip_username" maxlength="250">
<span class="help-block">Your <a href="https://www.gittip.com/">Gittip</a> username, if you have one.</span>
</div>
</div>
<div class="control-group" ng-class="{error: errors.disqus_shortname}">
<label class="control-label" for="id_disqus_shortname">Disqus shortname:</label>
<div class="controls">

View File

@ -192,9 +192,6 @@
{% if snipt.user.profile.is_a_team %}
<span class="pro"><a href="/for-teams/">Team</a></span>
{% endif %}
{% if snipt.user.profile.gittip_username %}
<span class="gittip"><a href="https://www.gittip.com/{{ snipt.user.profile.gittip_username }}/">Tip</a></span>
{% endif %}
</li>
{% endblock %}
{% if snipt.blog_post %}

View File

@ -74,8 +74,5 @@
</div>
{% endif %}
</div>
{% if user.profile.gittip_username %}
<a class="gittip" href="https://www.gittip.com/{{ user.profile.gittip_username }}/">Tip</a>
{% endif %}
</div>
{% endif %}