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

« back to all changes in this revision

Viewing changes to src/webui/views/ui.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2013-06-13 00:42:12 UTC
  • mfrom: (922.1.24 more-qa-anchors-for-sso)
  • Revision ID: tarmac-20130613004212-rzryogvwsfzw0h80
[r=elopio] - Adding lots of data-qa-id attrs to several HTML elements for ubuntu, launchpad and ubuntuone templates.
- Bumped revno of u1testutils to 80.
- Unified login/logout template rendering mechanism between ubuntu and launchpad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
872
872
 
873
873
 
874
874
def static_page(request, page_name):
875
 
    if settings.BRAND not in ('ubuntu', 'ubuntuone'):
 
875
    if get_current_brand() not in ('ubuntu', 'ubuntuone'):
876
876
        raise Http404
877
877
 
878
878
    return render_to_response('static/%s.html' % page_name,