Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1155 from johngian/pr1138
Browse files Browse the repository at this point in the history
[Fix bug 1115378] Add Mozilla Pontoon profile to external accounts.
  • Loading branch information
johngian committed Feb 3, 2015
2 parents c8a16f3 + ba06bff commit 9c973a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mozillians/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ class ExternalAccount(models.Model):
TYPE_MOVERBATIM = 'MOZILLAVERBATIM'
TYPE_MOLOCOMOTION = 'MOZILLALOCOMOTION'
TYPE_MOLOCATION = 'MOZILLALOCATION'
TYPE_MOPONTOON = 'MOZILLAPONTOON'
TYPE_TRANSIFEX = 'TRANSIFEX'

# Account type field documentation:
Expand Down Expand Up @@ -820,6 +821,9 @@ class ExternalAccount(models.Model):
TYPE_MOLOCOMOTION: {'name': 'Mozilla Locomotion',
'url': 'http://mozilla.locamotion.org/accounts/{identifier}/',
'validator': validate_username_not_url},
TYPE_MOPONTOON: {'name': 'Mozilla Pontoon',
'url': 'https://pontoon.mozilla.org/contributor/{identifier}/',
'validator': validate_email},
TYPE_TRANSIFEX: {'name': 'Transifex',
'url': 'https://www.transifex.com/accounts/profile/{identifier}/',
'validator': validate_username_not_url},
Expand Down

0 comments on commit 9c973a0

Please sign in to comment.