[Checkins] SVN: Grokstar/trunk/src/grokstar/ 'addrest' is a slightly odd name, so just call it 'add' until we actually

Martijn Faassen faassen at infrae.com
Thu Feb 1 16:20:27 EST 2007


Log message for revision 72309:
  'addrest' is a slightly odd name, so just call it 'add' until we actually
  have different kinds of blog entries.
  

Changed:
  U   Grokstar/trunk/src/grokstar/blog_templates/blogindex.pt
  U   Grokstar/trunk/src/grokstar/entry.py

-=-
Modified: Grokstar/trunk/src/grokstar/blog_templates/blogindex.pt
===================================================================
--- Grokstar/trunk/src/grokstar/blog_templates/blogindex.pt	2007-02-01 21:15:24 UTC (rev 72308)
+++ Grokstar/trunk/src/grokstar/blog_templates/blogindex.pt	2007-02-01 21:20:27 UTC (rev 72309)
@@ -6,7 +6,7 @@
   <body>
     <h1 tal:content="context/title"/>
     <h2 tal:content="context/tagline"/>
-    <a tal:attributes="href python:view.url('addrest')">Add Blog Entry</a>
+    <a tal:attributes="href python:view.url('add')">Add Blog Entry</a>
 
     <div class="entries">
       <tal:block repeat="entry view/entries">

Modified: Grokstar/trunk/src/grokstar/entry.py
===================================================================
--- Grokstar/trunk/src/grokstar/entry.py	2007-02-01 21:15:24 UTC (rev 72308)
+++ Grokstar/trunk/src/grokstar/entry.py	2007-02-01 21:20:27 UTC (rev 72309)
@@ -27,7 +27,7 @@
 
 grok.context(RestructuredTextEntry)
 
-class AddRest(grok.AddForm):
+class Add(grok.AddForm):
     grok.context(Blog)
 
     form_fields = grok.Fields(



More information about the Checkins mailing list