Mercurial > hg > agora-ahsan
comparison templates/bundle/bundle.djhtml @ 195:baf8776dc44d draft
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 |
comparison
equal
deleted
inserted
replaced
194:50ba20441122 | 195:baf8776dc44d |
---|---|
11 (version {{ this_version }}) | 11 (version {{ this_version }}) |
12 {% if file %} | 12 {% if file %} |
13 » | 13 » |
14 {{ file }} | 14 {{ file }} |
15 {% endif %} | 15 {% endif %} |
16 | |
17 | |
16 {% endblock %} | 18 {% endblock %} |
17 | 19 |
18 {% block title %} | 20 {% block title %} |
19 {% if file %} | 21 {% if file %} |
20 {{ file }} in | 22 {{ file }} in |
102 </li> | 104 </li> |
103 {% endfor %} | 105 {% endfor %} |
104 </ul> | 106 </ul> |
105 {% endif %} | 107 {% endif %} |
106 {% endif %} | 108 {% endif %} |
109 <h2 class = "names"> Comments for this bundle: </h2> | |
110 {% with bundle as object %} | |
111 {% include "comments/rawcomment.html" %}{% endwith %}. | |
112 | |
107 </div> | 113 </div> |
108 {% else %} | 114 {% else %} |
109 <p> | 115 <p> |
110 No files in this bundle! | 116 No files in this bundle! |
111 {% if request.user == bundle.uploader %} | 117 {% if request.user == bundle.uploader %} |