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 # Siftie Snippets
## Running locally: ## Running locally
- Clone the repo. - Clone the repo.
- `cd snippets` - `cd snippets`
@ -18,6 +18,10 @@
- `python manage.py update_index` // optional if you have a local DB dump with snippets - `python manage.py update_index` // optional if you have a local DB dump with snippets
- `make run` - `make run`
## Deploying on Dokku
- Elasticsearch 2.x only!
## Automatic deploy to Heroku ## Automatic deploy to Heroku
You can click the button below to automatically deploy Siftie Snippets to Heroku. You can click the button below to automatically deploy Siftie Snippets to Heroku.

View File

@ -17,9 +17,6 @@
{% block js %} {% block js %}
{{ block.super }} {{ block.super }}
window.blog_post = true; window.blog_post = true;
{% if blog_user.profile.gittip_username %}
window.gittip_username = '{{ blog_user.profile.gittip_username }}';
{% endif %}
{% endblock %} {% endblock %}
{% block css %} {% block css %}

View File

@ -20,12 +20,6 @@
<meta name="robots" content="noindex, follow" /> <meta name="robots" content="noindex, follow" />
{% endif %} {% 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 %} {% 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/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/pro-adams/style.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> </div>
<div class="def" data-title="Services"> <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}"> <div class="control-group" ng-class="{error: errors.disqus_shortname}">
<label class="control-label" for="id_disqus_shortname">Disqus shortname:</label> <label class="control-label" for="id_disqus_shortname">Disqus shortname:</label>
<div class="controls"> <div class="controls">

View File

@ -192,9 +192,6 @@
{% if snipt.user.profile.is_a_team %} {% if snipt.user.profile.is_a_team %}
<span class="pro"><a href="/for-teams/">Team</a></span> <span class="pro"><a href="/for-teams/">Team</a></span>
{% endif %} {% 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> </li>
{% endblock %} {% endblock %}
{% if snipt.blog_post %} {% if snipt.blog_post %}

View File

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