##// END OF EJS Templates
Improved page showing threads for certain tag. Also some fixes of dependency...
emerge-ng -
r74:4a75764d default
parent child Browse files
Show More
@@ -189,4 +189,4 b' def _get_client_ip(request):'
189 ip = x_forwarded_for.split(',')[-1].strip()
189 ip = x_forwarded_for.split(',')[-1].strip()
190 else:
190 else:
191 ip = request.META.get('REMOTE_ADDR')
191 ip = request.META.get('REMOTE_ADDR')
192 return ip No newline at end of file
192 return ip
@@ -1,4 +1,5 b''
1 pil
1 pil
2 django >= 1.5
2 django_cleanup
3 django_cleanup
3 django-markupfield
4 django-markupfield
4 markdown
5 markdown
@@ -4,11 +4,21 b''
4 {% load markup %}
4 {% load markup %}
5
5
6 {% block head %}
6 {% block head %}
7 {% if tag %}
8 <title>Neboard - {{ tag }}</title>
9 {% else %}
7 <title>Neboard</title>
10 <title>Neboard</title>
11 {% endif %}
8 {% endblock %}
12 {% endblock %}
9
13
10 {% block content %}
14 {% block content %}
11
15
16 {% if tag %}
17 <div class="tag_info">
18 <h2>{{ tag }}</h2>
19 </div>
20 {% endif %}
21
12 {% if threads %}
22 {% if threads %}
13 {% for thread in threads %}
23 {% for thread in threads %}
14 <div class="thread">
24 <div class="thread">
@@ -141,4 +151,4 b''
141 {% endfor %}
151 {% endfor %}
142 </span>
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