aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/management.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-12 13:59:39 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-12 13:59:39 +0200
commit5ce93556f3ce4395709117255007449f6a36509c (patch)
treef5e27bfc474739f3712e66de2146f218f8392cce /pyaggr3g470r/templates/management.html
parentImprovements of queries. (diff)
downloadnewspipe-5ce93556f3ce4395709117255007449f6a36509c.tar.gz
newspipe-5ce93556f3ce4395709117255007449f6a36509c.tar.bz2
newspipe-5ce93556f3ce4395709117255007449f6a36509c.zip
For the moment disable full text search on Heroku.
Diffstat (limited to 'pyaggr3g470r/templates/management.html')
-rw-r--r--pyaggr3g470r/templates/management.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index c1aad90d..822f3abd 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -5,7 +5,9 @@
<h1>Your subscriptions</h1>
<p>You are subscribed to {{ nb_feeds }} <a href="/feeds">feeds</a>. Add a <a href="/create_feed/">feed</a>.</p>
<p>{{ nb_articles }} articles are stored in the database with {{ nb_unread_articles }} <a href="/unread/">unread articles</a>.</p>
- <a href="/index_database/" class="btn btn-default">Index database</a>
+ {% if not_on_heroku %}
+ <a href="/index_database/" class="btn btn-default">Index database</a>
+ {% endif %}
</div>
<div class="jumbotron">
<h1>Your Profile</h1>
@@ -21,9 +23,11 @@
<h2>Export</h2>
<a href="/export_opml/" class="btn btn-default">Export feeds to OPML</a>
</div>
+ {% if not_on_heroku %}
<div class="jumbotron">
<h1>Export articles</h1>
<a href="/export/" class="btn btn-default">HTML</a>
</div>
+ {% endif %}
</div><!-- /.container -->
{% endblock %}
bgstack15