This too-large thing was not working.

master
Nick Sergeant 2013-11-19 21:31:14 -05:00
parent 16c9d0ffe8
commit 4373f8c0b7
1 changed files with 2 additions and 10 deletions

View File

@ -36,11 +36,7 @@
<section ng-show="!account || account.list_view == 'N'" class="code {% if request.GET.style %}{{ request.GET.style }}{% else %}autumn{% endif %}">
{% if snipt.lexer == 'markdown' %}
<div class="markdown">
{% if snipt.line_count > 300 and not detail %}
{{ snipt.get_stylized_min|safe }}
{% else %}
{{ snipt.stylized|safe }}
{% endif %}
{{ snipt.stylized|safe }}
</div>
{% else %}
{% if 'linenos' not in snipt.stylized %}
@ -61,11 +57,7 @@
</tbody>
</table>
{% else %}
{% if snipt.line_count > 300 and not detail %}
{{ snipt.get_stylized_min|safe }}
{% else %}
{{ snipt.stylized|safe }}
{% endif %}
{{ snipt.stylized|safe }}
{% endif %}
{% endif %}
{% if snipt.line_count > 8 and not detail and 'snipt-expand' not in snipt.tags_list %}