Browse Source

template fixes

pull/40/head
Savetheinternet 13 years ago
parent
commit
a3ec79e969
  1. 9
      templates/post_reply.html
  2. 1
      templates/post_thread.html

9
templates/post_reply.html

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

1
templates/post_thread.html

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

Loading…
Cancel
Save