Sergey Maranchuk avatar Sergey Maranchuk committed e6f96a6

mv include/post_in_search_page.html template to includes/

Comments (0)

Files changed (3)

djangobb_forum/templates/djangobb_forum/include/post_in_search_page.html

-{% load forum_extras %}
-{% load i18n %}
-
-<div class="blockpost searchposts roweven">
-    <h2>{% link post.topic.forum %}&nbsp;&raquo;&nbsp;{% link post.topic %}&nbsp;&raquo;&nbsp;<a href="{{ post.get_absolute_url }}">{% forum_time post.created %}</a></h2>
-
-    <div class="box">
-        <div class="inbox">
-            <div class="postleft">
-                <dl>
-                    <dt><strong><a href="{% url djangobb:forum_profile post.user %}">{{ post.user }}</a></strong></dt>
-                    <dd>{% trans "Replies:" %} {{ post.topic.post_count }}</dd>
-                    <dd><div class="icon"><div class="nosize"><!-- --></div></div></dd>
-                    <dd><p class="clearb"><a href="{{ post.get_absolute_url }}">{% trans "Go to post" %}</a></p></dd>
-                </dl>
-            </div>
-            <div class="postright">
-                <div class="postmsg">
-                    {{ post.body_html|safe }}
-                </div>
-            </div>
-            <div class="clearer"></div>
-        </div>
-    </div>
-</div>

djangobb_forum/templates/djangobb_forum/includes/post_in_search_page.html

+{% load forum_extras %}
+{% load i18n %}
+
+<div class="blockpost searchposts roweven">
+    <h2>{% link post.topic.forum %}&nbsp;&raquo;&nbsp;{% link post.topic %}&nbsp;&raquo;&nbsp;<a href="{{ post.get_absolute_url }}">{% forum_time post.created %}</a></h2>
+
+    <div class="box">
+        <div class="inbox">
+            <div class="postleft">
+                <dl>
+                    <dt><strong><a href="{% url djangobb:forum_profile post.user %}">{{ post.user }}</a></strong></dt>
+                    <dd>{% trans "Replies:" %} {{ post.topic.post_count }}</dd>
+                    <dd><div class="icon"><div class="nosize"><!-- --></div></div></dd>
+                    <dd><p class="clearb"><a href="{{ post.get_absolute_url }}">{% trans "Go to post" %}</a></p></dd>
+                </dl>
+            </div>
+            <div class="postright">
+                <div class="postmsg">
+                    {{ post.body_html|safe }}
+                </div>
+            </div>
+            <div class="clearer"></div>
+        </div>
+    </div>
+</div>

djangobb_forum/templates/djangobb_forum/search_posts.html

 {% for post in posts %}
 {% if post.object %}
     {% with post=post.object %}
-        {% include "djangobb_forum/include/post_in_search_page.html" %}
+        {% include "djangobb_forum/includes/post_in_search_page.html" %}
     {% endwith %}
 {% else %}
-    {% include "djangobb_forum/include/post_in_search_page.html" %}
+    {% include "djangobb_forum/includes/post_in_search_page.html" %}
 {% endif %}
 {% empty %}
 <div id="msg" class="block">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.