Mercurial > agora-palash
diff templates/bundle/bundle.djhtml @ 195:baf8776dc44d
added code for the integration of comment system into bundles and snippets.
database sync must be run so that necessary tables is created for the comments to work properly.
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Tue, 02 Jul 2013 02:09:21 +0500 |
parents | b711f0087709 |
children | 2a234e11185c |
line wrap: on
line diff
--- a/templates/bundle/bundle.djhtml Tue Jul 02 02:04:09 2013 +0500 +++ b/templates/bundle/bundle.djhtml Tue Jul 02 02:09:21 2013 +0500 @@ -13,6 +13,8 @@ » {{ file }} {% endif %} + + {% endblock %} {% block title %} @@ -104,6 +106,10 @@ </ul> {% endif %} {% endif %} + <h2 class = "names"> Comments for this bundle: </h2> + {% with bundle as object %} + {% include "comments/rawcomment.html" %}{% endwith %}. + </div> {% else %} <p>