Changeset 13420 in project


Ignore:
Timestamp:
02/28/09 10:26:07 (11 years ago)
Author:
azul
Message:

Fix edit-form-instructions so it will not claim that there are no comments when there are.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/svnwiki-discuss/trunk/svnwiki-discuss.scm

    r12972 r13420  
    112112
    113113(define (edit-form-instructions env)
    114   (let-from-environment env (path return)
    115     (when (is-discuss? path)
     114  (let-from-environment env (path path-in return)
     115    (when (and (is-discuss? path)
     116               (zero? (count-comments path-in path)))
    116117      (return (html-stream (p (svnwiki-translate env "No comments have been posted, please add yours.")))))))
    117118
Note: See TracChangeset for help on using the changeset viewer.