Remove gittip
parent
f25ff03a7c
commit
b0bfe200c9
|
@ -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.
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue