~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/pybb/inlines/topic_row.html

  • Committer: franku
  • Date: 2018-11-22 11:08:51 UTC
  • Revision ID: somal@arcor.de-20181122110851-77riof0o4dx2zcm6
split user uploaded content from static content

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
{% load pybb_extras %}
6
6
{% load wlprofile_extras %}
7
7
{% load custom_date %}
 
8
{% load static %}
 
9
 
8
10
   <tr class="topic_description {% cycle "odd" "even" %}">
9
11
         <td align="center" valign="middle">
10
12
            {% if topic|pybb_has_unreads:user %}
11
 
            <img src="{{ MEDIA_URL }}forum/img/folder_new.png" style="margin: 0px;" alt="" align="middle" />
 
13
            <img src="{% static 'forum/img/folder_new.png' %}" style="margin: 0px;" alt="" align="middle" />
12
14
            {% else %}
13
 
            <img src="{{ MEDIA_URL }}forum/img/folder.png" style="margin: 0px;" alt="" align="middle" />
 
15
            <img src="{% static 'forum/img/folder.png' %}" style="margin: 0px;" alt="" align="middle" />
14
16
            {% endif %}
15
17
         </td>
16
18
         <td id="name">
19
21
                    {% comment %}
20
22
                        oehm ja, geht nicht weil ka muss ich guggn, die frage ist. soll es fuer alle gelten oder nur fuer eine topic
21
23
                    {% endcomment %}
22
 
                    {% if subscribed %}<img src="{{ MEDIA_URL }}forum/img/en/subscribe_small.png" height="20" alt="subscribe" style="float:left" />{% endif %}
23
 
                    {% if topic.sticky %}<img src="{{ MEDIA_URL }}forum/img/en/stick_topic_small.png" height="20" alt ="Sticky" style="float:left;" /> {% endif %}
24
 
                    {% if topic.closed %}<img src="{{ MEDIA_URL }}forum/img/en/close_small.png" height="20" alt ="Closed" style="float:left; " /> {% endif %}
 
24
                    {% if subscribed %}<img src="{% static 'forum/img/en/subscribe_small.png' %}" height="20" alt="subscribe" style="float:left" />{% endif %}
 
25
                    {% if topic.sticky %}<img src="{% static 'forum/img/en/stick_topic_small.png' %}" height="20" alt ="Sticky" style="float:left;" /> {% endif %}
 
26
                    {% if topic.closed %}<img src="{% static 'forum/img/en/close_small.png' %}" height="20" alt ="Closed" style="float:left; " /> {% endif %}
25
27
                    &nbsp;{{ topic.name }}
26
28
                </a>
27
29
            </span>