Mercurial > agora
comparison templates/snippet/snippet_details.djhtml @ 121:21f428087edd
Remove extra closing </div> tag
For the validator again. What a demanding creature. Well, also because
it's wrong.
Also added soem comments to indicate the closing of some other divs.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Fri, 14 Sep 2012 22:14:04 -0400 |
parents | 3cd28df6f85b |
children | 9a99feacf8a3 |
comparison
equal
deleted
inserted
replaced
120:3cd28df6f85b | 121:21f428087edd |
---|---|
82 anonymous | 82 anonymous |
83 {% endif %} | 83 {% endif %} |
84 — | 84 — |
85 Language: {{language}} | 85 Language: {{language}} |
86 </div> | 86 </div> |
87 </div> | 87 </div><!-- closes .snippet-options --> |
88 <br /> | 88 <br /> |
89 <div class="snippet {{ default_style }}"> | 89 <div class="snippet {{ default_style }}"> |
90 <table> | 90 <table> |
91 {% for line in snippet.content_splitted %} | 91 {% for line in snippet.content_splitted %} |
92 <tr> | 92 <tr> |
97 </td> | 97 </td> |
98 <td class="highlight">{% if line %}{{ line|safe }}{% else %} {% endif %}</td> | 98 <td class="highlight">{% if line %}{{ line|safe }}{% else %} {% endif %}</td> |
99 </tr> | 99 </tr> |
100 {% endfor %} | 100 {% endfor %} |
101 </table> | 101 </table> |
102 </div> | 102 </div><!-- closes .snippet --> |
103 | 103 |
104 <br /> | 104 <br /> |
105 | 105 |
106 <h2 id="revise">{% trans "Revise this snippet" %}</h2> | 106 <h2 id="revise">{% trans "Revise this snippet" %}</h2> |
107 | 107 |
145 {% else %} | 145 {% else %} |
146 <a href="{{ tree_item.get_absolute_url }}"> | 146 <a href="{{ tree_item.get_absolute_url }}"> |
147 {{ tree_item.get_title }} | 147 {{ tree_item.get_title }} |
148 </a> | 148 </a> |
149 {% endifequal %} | 149 {% endifequal %} |
150 </div> | 150 </div><!-- closes the div surrounding the .diff span --> |
151 {% for level in structure.closed_levels %} | 151 {% for level in structure.closed_levels %} |
152 </li> | 152 </li> |
153 </ul> | 153 </ul> |
154 {% endfor %} | 154 {% endfor %} |
155 {% endfor %} | 155 {% endfor %} |
156 <div class="submit"> | 156 <div class="submit"> |
157 <input type="submit" value="{% trans "Compare" %}"/> | 157 <input type="submit" value="{% trans "Compare" %}"/> |
158 </div> | 158 </div><!-- closes the .submit div --> |
159 </div> | 159 </div><!-- closes the .tree div --> |
160 </form> | 160 </form> |
161 {% endif %} | 161 {% endif %} |
162 <br /> | 162 <br /> |
163 <h2>{% trans "Options" %}</h2> | 163 <h2>{% trans "Options" %}</h2> |
164 <a href="{% url snippet_details_raw snippet.secret_id %}"> | 164 <a href="{% url snippet_details_raw snippet.secret_id %}"> |
165 {% trans "View raw" %} | 165 {% trans "View raw" %} |
166 </a> | 166 </a> |
167 </div> | 167 </div><!-- closes the .sidebar div --> |
168 </div> | |
169 {% endblock %} | 168 {% endblock %} |
170 | 169 |
171 {% block script_footer %} | 170 {% block script_footer %} |
172 <script type="text/javascript"> | 171 <script type="text/javascript"> |
173 {%include "snippet/snippet_details.js" %} | 172 {%include "snippet/snippet_details.js" %} |