Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Enable Taiwan in Marketplace (bug 1158297)
Browse files Browse the repository at this point in the history
  • Loading branch information
diox committed Apr 30, 2015
1 parent 1c7232d commit 7f48c42
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion media/css/devreg/payments.styl
Expand Up @@ -697,7 +697,7 @@ label .region {
}

// India (in) is in quotes since `in` is a reserved word.
for region in ar bd br bw cf ci cl cm cn co cr cz de ec eg es fr gn gr gt gw hu 'in' it jo jp ke lt me mg ml mm mu mx ne ni pa pe ph pl rs ru sn sv tn tz uk us uy ve vu za restofworld
for region in ar bd br bw cf ci cl cm cn co cr cz de ec eg es fr gn gr gt gw hu 'in' it jo jp ke lt me mg ml mm mu mx ne ni pa pe ph pl rs ru sn sv tn tw tz uk us uy ve vu za restofworld
.region-{region} {
background-image: url(unquote('../../img/mkt/icons/regions/' + region + '.png'));
}
Expand Down
8 changes: 8 additions & 0 deletions migrations/905-exclude-new-region-taiwan.py
@@ -0,0 +1,8 @@
#!/usr/bin/env python

from mkt.constants import regions
from mkt.developers.cron import exclude_new_region


def run():
exclude_new_region([regions.TWN])
1 change: 1 addition & 0 deletions mkt/constants/regions.py
Expand Up @@ -114,6 +114,7 @@ class RESTOFWORLD(REGION):
'SLV': _lazy(u'El Salvador'),
'SRB': _lazy(u'Serbia'),
'TUN': _lazy(u'Tunisia'),
'TWN': _lazy(u'Taiwan'),
'TZA': _lazy(u'Tanzania'),
'URY': _lazy(u'Uruguay'),
'USA': _lazy(u'United States'),
Expand Down
2 changes: 1 addition & 1 deletion requirements/prod.txt
Expand Up @@ -63,7 +63,7 @@ kombu==2.5.16
heka-py==0.30.3
heka-py-cef==0.3.1
pyjwkest==0.6.1
marketplace-constants==0.9.1
marketplace-constants==0.10.0
monolith.client==0.9
mozilla-logger==0.2
mozpay==2.0.0
Expand Down

0 comments on commit 7f48c42

Please sign in to comment.