diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-09-12 07:18:03 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-09-12 07:18:03 +0200 |
commit | cbda6dd40acf7c611be893354c8357cbd2cb404e (patch) | |
tree | bd8b642f2ea2d50ce824dbc7e337010674fa59e9 /pyaggr3g470r | |
parent | Merge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff) | |
download | newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.gz newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.bz2 newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.zip |
Removed gravatar extension.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/__init__.py | 5 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 3 | ||||
-rw-r--r-- | pyaggr3g470r/templates/management.html | 3 |
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"> |