Mercurial > hg > decoupage
diff decoupage/formatters.py @ 65:ac1dc088e37e
add inclusion template
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 26 Oct 2011 21:21:47 -0700 |
parents | 9c15bde43ae6 |
children | fdb77c57bd22 |
line wrap: on
line diff
--- a/decoupage/formatters.py Wed Dec 15 09:30:32 2010 -0800 +++ b/decoupage/formatters.py Wed Oct 26 21:21:47 2011 -0700 @@ -204,6 +204,7 @@ path = request.path_info if (path != '/') and self.up: data['files'].insert(0, {'path': '..', + 'type': 'directory', 'name': path.rsplit('/', 1)[0] + '/', 'description': self.up})