aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-09-12 07:18:03 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-09-12 07:18:03 +0200
commitcbda6dd40acf7c611be893354c8357cbd2cb404e (patch)
treebd8b642f2ea2d50ce824dbc7e337010674fa59e9 /pyaggr3g470r
parentMerge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff)
downloadnewspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.gz
newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.bz2
newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.zip
Removed gravatar extension.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/__init__.py5
-rw-r--r--pyaggr3g470r/templates/admin/user.html3
-rw-r--r--pyaggr3g470r/templates/management.html3
3 files changed, 0 insertions, 11 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index a1ab31bf..f3f784f4 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -6,7 +6,6 @@ from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.babel import Babel
from flask.ext.babel import format_datetime
-from flask.ext.gravatar import Gravatar
import conf
@@ -42,10 +41,6 @@ babel = Babel(app)
app.jinja_env.filters['datetime'] = format_datetime
-# Gravatar
-gravatar = Gravatar(app, size=100, rating='g', default='retro',
- force_default=False, use_ssl=False, base_url=None)
-
# Views
from flask.ext.restful import Api
api = Api(app)
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index 8f911b92..046093e1 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -12,9 +12,6 @@
<p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
<p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
</div>
- <div class="col-md-6">
- <img src="{{ user.email | gravatar }}" />
- </div>
</div>
</div>
<div class="jumbotron">
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index f8b7b8a0..fa6e66ef 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -18,9 +18,6 @@
<p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
<p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
</div>
- <div class="col-md-6">
- <img src="{{ user.email | gravatar }}" />
- </div>
</div>
<div class="row">
<div class="col-md-12">
bgstack15