~ubuntuone-pqm-team/canonical-identity-provider/trunk

« back to all changes in this revision

Viewing changes to identityprovider/branding.py

  • Committer: Danny Tamez
  • Date: 2010-04-21 15:29:24 UTC
  • Revision ID: danny.tamez@canonical.com-20100421152924-lq1m92tstk2iz75a
Canonical SSO Provider (Open Source) - Initial Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
from django.conf import settings
 
5
from django.utils.translation import ugettext_lazy as _
 
6
 
 
7
 
 
8
class Launchpad(object):
 
9
    template_dir = 'launchpad'
 
10
    name = _('Launchpad Login Service')
 
11
    provides_access = _('A Lauchpad Login Service account is free and gives '
 
12
                     'you access to Ubuntu One, the Ubuntu Shop '
 
13
                     'and many more usefulservices.')
 
14
    create_account = _('Create a Launchpad Login Service account')
 
15
    server_info = _('This is the Launchpad login service, built on OpenID. '
 
16
                    'The service enables you to use your Launchpad account '
 
17
                    'to log into OpenID-enabled sites around the Internet.')
 
18
 
 
19
 
 
20
class Ubuntu(object):
 
21
    template_dir = 'ubuntu'
 
22
    name = _('Ubuntu Single Sign On')
 
23
    provides_access = _('An Ubuntu Single Sign On account is free and gives '
 
24
                     'you access to Ubuntu One, the Ubuntu Shop '
 
25
                     'and many more usefulservices.')
 
26
    create_account = _('Create an Ubuntu Single Sign On account')
 
27
    server_info = _('This is the Ubuntu SSO service, built on OpenID. The '
 
28
                    'service enables you to use your Ubuntu SSO account to '
 
29
                    'log into various sites run by Canonical and Ubuntu.')
 
30
 
 
31
current_brand = globals()[settings.BRAND]()