Author: batiste.bieler
Date: Thu Jun 25 03:25:49 2009
New Revision: 586
Modified:
trunk/example/templates/pages/index.html
trunk/example/templates/pages/nice.html
Log:
Remove the custom widget example for the templates
Modified: trunk/example/templates/pages/index.html
==============================================================================
--- trunk/example/templates/pages/index.html (original)
+++ trunk/example/templates/pages/index.html Thu Jun 25 03:25:49 2009
@@ -98,7 +98,9 @@
{% if current_page %}
<p>Test for page absolute url : {% show_absolute_url current_page %}</p>
<p>Test for page absolute url using the page slug : {% show_absolute_url
current_page.slug %}</p>
-<p>Test show_content and get_content template tag : {% show_content
current_page.slug "slug" %} {% get_content current_page.slug "slug" as
content %}</p>
+<p>Test show_content and get_content template tag :
+ {% show_content current_page.slug "slug" %}
+ {% get_content current_page.slug "slug" as content %}</p>
{% endif %}
{% block content %}
@@ -122,10 +124,6 @@
{% endif %}
{% endblock %}
-{% block override %}
- <!-- nice.html overrideing this block to make custom-widget-example
disapear form the admin -->
- {% placeholder custom-widget-example on current_page with
example.widgets.CustomTextarea parsed %}
-{% endblock %}
</div>
<script type="text/javascript">
Modified: trunk/example/templates/pages/nice.html
==============================================================================
--- trunk/example/templates/pages/nice.html (original)
+++ trunk/example/templates/pages/nice.html Thu Jun 25 03:25:49 2009
@@ -3,10 +3,6 @@
{% block title %}Nice template{% endblock %}
-{% block override %}
- <!-- by overrideing this block custom-widget-example should disapear
form the admin -->
-{% endblock %}
-
{% block content %}{{ block.super }}
<div style="width:70%">
<div>fancy content
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---