Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ux2' into ux2
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleveritt committed Apr 23, 2012
2 parents 9cac754 + 9328e41 commit e4661ab
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Unreleased
- Fix bug where rendering a template from a console script would raise an - Fix bug where rendering a template from a console script would raise an
exception. exception.


- Fix error when rendering Edit Reference Manual Page view in UX1. (LP #987257)

3.83 (2012-04-19) 3.83 (2012-04-19)
----------------- -----------------


Expand Down
2 changes: 1 addition & 1 deletion karl/content/views/page.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -291,6 +291,6 @@ def show_page_view(context, request):
backto=backto, backto=backto,
previous_entry=previous, previous_entry=previous,
next_entry=next, next_entry=next,
layout=layout), old_layout=layout),
request = request, request = request,
) )
8 changes: 4 additions & 4 deletions karl/content/views/references.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def reference_outline_view(context, request):


# Get a layout # Get a layout
layout_provider = get_layout_provider(context, request) layout_provider = get_layout_provider(context, request)
layout = layout_provider('intranet') old_layout = layout_provider('intranet')


# provide client data for rendering current tags in the tagbox # provide client data for rendering current tags in the tagbox
client_json_data = dict( client_json_data = dict(
Expand All @@ -207,7 +207,7 @@ def reference_outline_view(context, request):
head_data=convert_to_script(client_json_data), head_data=convert_to_script(client_json_data),
tree=getTree(context, request, api), tree=getTree(context, request, api),
backto=backto, backto=backto,
layout=layout, old_layout=old_layout,
previous_entry=previous, previous_entry=previous,
next_entry=next), next_entry=next),
request=request, request=request,
Expand Down Expand Up @@ -238,7 +238,7 @@ def reference_viewall_view(context, request):


# Get a layout # Get a layout
layout_provider = get_layout_provider(context, request) layout_provider = get_layout_provider(context, request)
layout = layout_provider('intranet') old_layout = layout_provider('intranet')


# provide client data for rendering current tags in the tagbox # provide client data for rendering current tags in the tagbox
client_json_data = dict( client_json_data = dict(
Expand All @@ -254,7 +254,7 @@ def reference_viewall_view(context, request):
head_data=convert_to_script(client_json_data), head_data=convert_to_script(client_json_data),
tree=getTree(context, request, api), tree=getTree(context, request, api),
backto=backto, backto=backto,
layout=layout, old_layout=old_layout,
previous_entry=previous, previous_entry=previous,
next_entry=next), next_entry=next),
request=request, request=request,
Expand Down
2 changes: 1 addition & 1 deletion karl/content/views/templates/intranet_layout.pt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="visualClear"></div> <div class="visualClear"></div>
</div> </div>
<div id="main"> <div id="main">
<div id="left" tal:content="structure layout.navigation"/> <div id="left" tal:content="structure old_layout.navigation"/>
<div id="center" class="clearafter center_boards"> <div id="center" class="clearafter center_boards">
<div metal:define-slot="content"/> <div metal:define-slot="content"/>
</div> </div>
Expand Down
2 changes: 1 addition & 1 deletion karl/content/views/templates/show_page.pt
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="layout"> metal:use-macro="old_layout">


<div metal:fill-slot="content"> <div metal:fill-slot="content">


Expand Down
2 changes: 1 addition & 1 deletion karl/content/views/templates/show_referencemanual.pt
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="layout"> metal:use-macro="old_layout">


<body> <body>


Expand Down
2 changes: 1 addition & 1 deletion karl/content/views/templates/viewall_referencemanual.pt
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
<div xmlns="http://www.w3.org/1999/xhtml" <div xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="layout"> metal:use-macro="old_layout">


<div metal:fill-slot="content" <div metal:fill-slot="content"
tal:define="ol_types ['1', 'A', 'i', 'a'] + ['1'] * 1000; tal:define="ol_types ['1', 'A', 'i', 'a'] + ['1'] * 1000;
Expand Down

0 comments on commit e4661ab

Please sign in to comment.