summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/builder/views.py4
-rw-r--r--design/templates/admin/buttons.html1
2 files changed, 5 insertions, 0 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 9e4671e..d1c47c7 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -10,6 +10,7 @@ from photos.build import builder as photo_builder
from figments.build import builder as figments_builder
from notes.build import builder as notes_builder
from pages.build import builder as page_builder
+from sketches.build import builder as sketches_builder
options = {
'writing': BuildWriting,
@@ -62,6 +63,9 @@ def do_build(request):
elif section == 'map':
context = {'message': 'Writing Map to Disk'}
map_builder()
+ elif section == 'sketches':
+ context = {'message': 'Writing Notes to Disk'}
+ sketches_builder()
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}
diff --git a/design/templates/admin/buttons.html b/design/templates/admin/buttons.html
index 013565e..d9d8e0b 100644
--- a/design/templates/admin/buttons.html
+++ b/design/templates/admin/buttons.html
@@ -46,6 +46,7 @@
<li class="item"><a href="/admin/build/build?id=sitemap">Build Sitemap</a></li>
<li class="item"><a href="/admin/build/build?id=buildrss">Build RSS</a></li>
<li class="item"><a href="/admin/build/build?id=pages">Build All Pages</a></li>
+ <li class="item"><a href="/admin/build/build?id=sketches">Build Sketches</a></li>
<li class="item"><a href="/admin/build/build?id=notes">Build Notes</a></li>
<li class="item"><a href="/admin/build/build?id=photo_galleries">Build Photo Galleries</a></li>
<li class="item"><a href="/admin/build/build?id=projects">Build Project Pages</a></li>