1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

template fixes

This commit is contained in:
Savetheinternet 2011-10-07 20:15:57 +11:00
parent 555688e880
commit a3ec79e969
2 changed files with 6 additions and 4 deletions

View File

@ -45,7 +45,7 @@
{% endif %}">
{{ post.id }}
</a>
</p>
{% if post.embed %}
{{ post.embed }}
{% elseif post.file == 'deleted' %}
@ -72,7 +72,8 @@
{% endif %}
{% endif %}
)
</span></p>
</span>
</p>
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if this.thumb == 'file' %} class="file"{% endif %}>
<img src="
{% if post.thumb == 'file' %}
@ -86,9 +87,9 @@
{{ config.root }}{{ config.spoiler_image }}
{% else %}
{{ config.uri_thumb }}{{ post.thumb }}
{% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /></a>
{% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" />
</a>
{% endif %}
{{ post.postControls }}
<p class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}

View File

@ -96,6 +96,7 @@
<a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[Reply]</a>
{% endif %}
{{ post.postControls }}
</p>
<p class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p>