Skip to content

Commit

Permalink
Merge branch 'master' into docker
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoegl committed Jan 30, 2018
2 parents 7a46e2d + 02288db commit 4cc2ee0
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ env:
- DATABASE_URL="postgres://postgres@localhost/mygpo_test"

sudo: false

# temporarily allow failures on 3.7
# see https://github.com/chtd/psycopg2cffi/issues/95
matrix:
allow_failures:
- python: "3.7-dev"
- python: "nightly"

2 changes: 1 addition & 1 deletion mygpo/core/slugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __iter__(self):
The consumer can can consume until it get's an unused one """

if obj.slug:
if self.obj.slug:
# The object already has a slug
raise StopIteration

Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions mygpo/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ msgstr "Registrierung abgeschlossen"
msgid ""
"Please confirm your account using the email you should just have received."
msgstr ""
"Du solltest soeben ein Mail bekommen haben. Darin findest du einen Link zum "
"Du solltest soeben eine E-Mail bekommen haben. Darin findest du einen Link zum "
"Aktivieren deines Accounts"

#: mygpo/users/templates/registration/registration_form.html:8
Expand All @@ -1618,7 +1618,7 @@ msgstr "Registrieren"
#: mygpo/users/templates/registration/registration_form.html:87
#, fuzzy
msgid "Activation Mail"
msgstr "Aktivierungs-Email gesendet"
msgstr "Aktivierungs-E-Mail gesendet"

#: mygpo/users/templates/registration/registration_form.html:88
msgid ""
Expand Down Expand Up @@ -1660,7 +1660,7 @@ msgstr "Aktivierungs-Email gesendet"

#: mygpo/users/templates/registration/resent_activation.html:11
msgid "The activation email has been reset."
msgstr "Die Aktivierungs E-Mail wurde zurückgesetzt."
msgstr "Die Aktivierungs-E-Mail wurde zurückgesetzt."

#: mygpo/users/views/device.py:80 mygpo/users/views/device.py:170
msgid "Synchronize with the following devices"
Expand Down Expand Up @@ -1775,7 +1775,7 @@ msgstr ""

#: mygpo/web/forms.py:20 mygpo/web/forms.py:184
msgid "E-Mail address"
msgstr "Deine Email-Adresse"
msgstr "Deine E-Mail-Adresse"

#: mygpo/web/forms.py:27
msgid "Current password"
Expand Down Expand Up @@ -3398,7 +3398,7 @@ msgstr "eine andere Seite"
#~ msgstr "Wiederherstellungs-Email senden"

#~ msgid "Didn't receive your activation mail?"
#~ msgstr "Aktivierungs-Mail nicht erhalten?"
#~ msgstr "Aktivierungs-E-Mail nicht erhalten?"

#~ msgid "Not yet a member?"
#~ msgstr "Noch kein Mitglied?"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion mygpo/share/templatetags/gravatar.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import hashlib

from django.utils.safestring import mark_safe
from django import template

from mygpo.constants import PODCAST_LOGO_BIG_SIZE


register = template.Library()

GRAVATAR_IMG = 'https://secure.gravatar.com/avatar/{hash_str}?s={size}&d=mm'
GRAVATAR_IMG = 'https://secure.gravatar.com/avatar/{hash_str}?s={size}'


@register.simple_tag
@mark_safe
def gravatar_img(user):
return '<img src="{url}" alt="{username}" />'.format(
url=gravatar_url(user),
Expand Down

0 comments on commit 4cc2ee0

Please sign in to comment.