Show More
@@ -189,4 +189,4 b' def _get_client_ip(request):' | |||
|
189 | 189 | ip = x_forwarded_for.split(',')[-1].strip() |
|
190 | 190 | else: |
|
191 | 191 | ip = request.META.get('REMOTE_ADDR') |
|
192 | return ip No newline at end of file | |
|
192 | return ip |
@@ -4,11 +4,21 b'' | |||
|
4 | 4 | {% load markup %} |
|
5 | 5 | |
|
6 | 6 | {% block head %} |
|
7 | {% if tag %} | |
|
8 | <title>Neboard - {{ tag }}</title> | |
|
9 | {% else %} | |
|
7 | 10 | <title>Neboard</title> |
|
11 | {% endif %} | |
|
8 | 12 | {% endblock %} |
|
9 | 13 | |
|
10 | 14 | {% block content %} |
|
11 | 15 | |
|
16 | {% if tag %} | |
|
17 | <div class="tag_info"> | |
|
18 | <h2>{{ tag }}</h2> | |
|
19 | </div> | |
|
20 | {% endif %} | |
|
21 | ||
|
12 | 22 | {% if threads %} |
|
13 | 23 | {% for thread in threads %} |
|
14 | 24 | <div class="thread"> |
@@ -141,4 +151,4 b'' | |||
|
141 | 151 | {% endfor %} |
|
142 | 152 | </span> |
|
143 | 153 | |
|
144 | {% endblock %} No newline at end of file | |
|
154 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now