Navigation Menu

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 #770 from mimaison/bitbucket
Browse files Browse the repository at this point in the history
[Bug 942422] Add BitBucket to list of available external accounts
  • Loading branch information
glogiotatidis committed Jan 21, 2014
2 parents fc478e2 + ccca883 commit 66f14e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mozillians/users/models.py
Expand Up @@ -670,13 +670,15 @@ class ExternalAccount(models.Model):
TYPE_SKYPE = 'SKYPE'
TYPE_YAHOO = 'YAHOO'
TYPE_WEBSITE = 'WEBSITE'
TYPE_BITBUCKET = 'BITBUCKET'

ACCOUNT_TYPES = {
TYPE_AMO: {'name': 'Mozilla Add-ons',
'url': 'https://addons.mozilla.org/user/{identifier}/'},
TYPE_BMO: {'name': 'Bugzilla (BMO)',
'url': 'https://bugzilla.mozilla.org/user_profile?login={identifier}'},
TYPE_GITHUB: {'name': 'GitHub', 'url': 'https://github.com/{identifier}'},
TYPE_BITBUCKET: {'name': 'Bitbucket', 'url': 'https://bitbucket.org/{identifier}'},
TYPE_MDN: {'name': 'MDN', 'url': 'https://developer.mozilla.org/profiles/{identifier}'},
TYPE_SUMO: {'name': 'Mozilla Support', 'url': ''},
TYPE_FACEBOOK: {'name': 'Facebook', 'url': 'https://www.facebook.com/{identifier}'},
Expand Down

0 comments on commit 66f14e2

Please sign in to comment.