Changeset 1845

Show
Ignore:
Timestamp:
01/03/07 23:44:35 (2 years ago)
Author:
pacopablo
Message:

TracBlogPlugin:

  • Closes #657. Documentation added to Admin page and BlogShow macro
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tracblogplugin/0.10/blog/admin.py

    r1582 r1845  
    8888   tag to use as default when none are specified 
    8989 '''Post Max Size''':: 
    90    number of bytes to show before truncating the post and providing a ''(...)'' link.  Posts are truncated at line breaks, and wiki formatting is included in the byte count, so truncation will not be exact. 
     90   number of bytes to show before truncating the post and providing a ''(...)'' link.  Posts are truncated at line breaks, and wiki formatting is included in the byte count, so truncation will not be exact.  This means that if a line is 2KB long and ''Post Max Size'' is 1KB, then the full 2KB will be shown, as it's the next line break after the ''Post Max Size'' is reached 
    9191 '''Days of History''':: 
    9292   number of days for which to show blog posts 
  • tracblogplugin/0.10/blog/templates/blog_admin.cs

    r1582 r1845  
    6969            <div class="field"> 
    7070                <label>Footer:<br/> 
    71                     <textarea name="footer" cols=40 rows=6><?cs var:blogadmin.footer ?></textarea> 
     71                    <textarea name="footer" cols=30 rows=6><?cs var:blogadmin.footer ?></textarea> 
    7272                </label> 
    7373            </div> 
  • tracblogplugin/0.10/blog/web_ui.py

    r1582 r1845  
    114114    have been updated.[[br]] 
    115115    '''format''' - Show as RSS feed ('rss') or HTML (else).[[br]] 
     116    '''post_size''' - Number of bytes to show before truncating the post and providing a ''(...)'' link.  Posts are truncated at the next line break after the byte count is reached. 
     117 
    116118 
    117119    If specifying dates with {{{year}}}, {{{month}}}, and/or {{{day}}}, the