smarter index.html for wiki
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-23 12:44:28) dev
|
Version 2.00.0 (2012-08-23 13:19:16) dev
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{{left_sidebar_enabled,right_sidebar_enabled=False,True}}
|
{{left_sidebar_enabled,right_sidebar_enabled=False,('message' in globals())}}
|
||||||
{{extend 'layout.html'}}
|
{{extend 'layout.html'}}
|
||||||
|
|
||||||
{{if 'message' in globals():}}
|
{{if 'message' in globals():}}
|
||||||
@@ -17,6 +17,8 @@
|
|||||||
_href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li>
|
_href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li>
|
||||||
<li>{{=T('You can modify this application and adapt it to your needs')}}</li>
|
<li>{{=T('You can modify this application and adapt it to your needs')}}</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
{{elif 'content' in globals():}}
|
||||||
|
{{=content}}
|
||||||
{{else:}}
|
{{else:}}
|
||||||
{{=BEAUTIFY(response._vars)}}
|
{{=BEAUTIFY(response._vars)}}
|
||||||
{{pass}}
|
{{pass}}
|
||||||
@@ -31,4 +33,3 @@
|
|||||||
<li><a href="http://web2py.com/book">{{=T('Documentation')}}</a></li>
|
<li><a href="http://web2py.com/book">{{=T('Documentation')}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user