Changeset 69
- Timestamp:
- 05/27/08 03:38:14 (6 months ago)
- Files:
-
- branches/pluggable-contents/blog/templates/blog/_links.html (modified) (2 diffs)
- branches/pluggable-contents/blog/templates/blog/_tag_cloud.html (modified) (2 diffs)
- branches/pluggable-contents/blog/templates/blog/base.html (modified) (1 diff)
- branches/pluggable-contents/blog/templates/blog/entry_detail.html (modified) (1 diff)
- branches/pluggable-contents/blog/templates/blog/entry_list.html (modified) (2 diffs)
- branches/pluggable-contents/common/templates/flatpages/default.html (modified) (2 diffs)
- branches/pluggable-contents/media/themes/default/css/layout.css (modified) (4 diffs)
- branches/pluggable-contents/media/themes/default/css/styles.css (modified) (1 diff)
- branches/pluggable-contents/plugins/templatetags/template_plugins.py (added)
- branches/pluggable-contents/plugins/views.py (modified) (1 diff)
- branches/pluggable-contents/settings.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/pluggable-contents/blog/templates/blog/_links.html
r35 r69 1 1 {% load i18n %} 2 <div class="content-box"> 2 3 <h2>{{ title }}</h2> 3 4 {% spaceless %} … … 16 17 {% endif %} 17 18 </ul> 19 </div> 18 20 {% endspaceless %} branches/pluggable-contents/blog/templates/blog/_tag_cloud.html
r35 r69 1 1 {% load i18n %} 2 <div class="content-box"> 2 3 <h2>{{ title }}</h2> 3 4 <ul class="cloud-list" id="{{ id }}"><!-- … … 16 17 {% endif %} 17 18 --></ul> 19 </div> branches/pluggable-contents/blog/templates/blog/base.html
r17 r69 1 1 {% extends "base.html" %} 2 {% load blogutils %} 2 {% load template_plugins %} 3 4 {% block subContent %} 5 {% do_sub_contents %} 6 {% endblock %} 3 7 4 8 {% block extraContent %} 5 {% archive_links %}9 {% do_extra_contents %} 6 10 {% endblock %} branches/pluggable-contents/blog/templates/blog/entry_detail.html
r55 r69 173 173 {% endblock %} 174 174 175 {% comment %} 175 176 {% block subContent %} 176 177 {% tag_links obj.tags.all %} 177 178 {% endblock %} 179 {% endcomment %} branches/pluggable-contents/blog/templates/blog/entry_list.html
r58 r69 54 54 {% endblock %} 55 55 56 {% block subContent %} 56 {% comment %} 57 {% block subcontent %} 57 58 {% if current_tag %} 58 59 {% tag_links current_tag %} … … 61 62 {% endif %} 62 63 {% endblock %} 64 {% endcomment %} branches/pluggable-contents/common/templates/flatpages/default.html
r40 r69 1 1 {% extends "base.html" %} 2 {% load i18n blogutils markup %}2 {% load i18n blogutils markup template_plugins %} 3 3 4 4 {% block title %}{{ obj.title }}{% endblock %} … … 10 10 11 11 {% block subContent %} 12 {% tag_links %}12 {% do_sub_contents %} 13 13 {% endblock %} 14 14 15 15 {% block extraContent %} 16 {% archive_links %}16 {% do_extra_contents %} 17 17 {% endblock %} branches/pluggable-contents/media/themes/default/css/layout.css
r37 r69 55 55 { 56 56 float: right; 57 margin-bottom: 2em;58 57 padding: 0 10px; 59 58 width: 200px; … … 64 63 clear: right; 65 64 float: right; 66 margin-bottom: 2em;67 65 padding: 0 10px; 68 66 width: 200px; … … 86 84 { 87 85 float: left; 88 margin-bottom: 2em;89 86 padding: 0 10px; 90 87 width: 200px; … … 95 92 clear: left; 96 93 float: left; 97 margin-bottom: 2em;98 94 padding: 0 10px; 99 95 width: 200px; branches/pluggable-contents/media/themes/default/css/styles.css
r55 r69 414 414 } 415 415 416 #sub-content div.content-box, 417 #extra-content div.content-box 418 { 419 margin: 0; 420 margin-bottom: 2em; 421 } 422 416 423 /* section. 417 424 ------------- */ branches/pluggable-contents/plugins/views.py
r64 r69 266 266 t = loader.get_template('blog/_links.html') 267 267 return t.render(c) 268 branches/pluggable-contents/settings.py
r64 r69 117 117 DESIGN_THEME = 'default' 118 118 119 SUB_CONTENTS = () 120 EXTRA_CONTENTS = () 119 SUB_CONTENTS = ( 120 'plugins.views.TagCloudContent', 121 'plugins.views.RecentCommentsContent', 122 ) 123 EXTRA_CONTENTS = ( 124 'plugins.views.ArchiveContent', 125 ) 121 126 122 127 from local_settings import *
