##// END OF EJS Templates
Mark some vars in base template as safe
neko259 -
r1958:e78e5227 default
parent child Browse files
Show More
@@ -30,7 +30,7 b''
30 <script src="{% static 'js/jquery-2.2.0.min.js' %}"></script>
30 <script src="{% static 'js/jquery-2.2.0.min.js' %}"></script>
31
31
32 <header class="navigation_panel">
32 <header class="navigation_panel">
33 <a class="link" href="{% url 'landing' %}">{{ site_name }}</a>
33 <a class="link" href="{% url 'landing' %}">{{ site_name|safe }}</a>
34 <a href="{% url 'index' %}" title="{% trans "All threads" %}">~~~</a>,
34 <a href="{% url 'index' %}" title="{% trans "All threads" %}">~~~</a>,
35 {% if tags_str %}
35 {% if tags_str %}
36 <form action="{% url 'index' %}" method="post" class="post-button-form">{% csrf_token %}
36 <form action="{% url 'index' %}" method="post" class="post-button-form">{% csrf_token %}
@@ -46,7 +46,7 b''
46 <a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>,
46 <a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>,
47 <a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'images' %}</a>{% if has_fav_threads %},
47 <a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'images' %}</a>{% if has_fav_threads %},
48
48
49 <a href="{% url 'feed' %}?favorites" id="fav-panel-btn">{% trans 'favorites' %} <span id="new-fav-post-count" {% if not new_post_count %}style="display: none" {% endif %}>{{ new_post_count }}</span></a>
49 <a href="{% url 'feed' %}?favorites" id="fav-panel-btn">{% trans 'favorites' %} <span id="new-fav-post-count" {% if not new_post_count %}style="display: none" {% endif %}>{{ new_post_count|safe }}</span></a>
50 {% endif %}
50 {% endif %}
51
51
52 {% if usernames %}
52 {% if usernames %}
@@ -79,7 +79,7 b''
79 <script src="{% static 'js/main.js' %}"></script>
79 <script src="{% static 'js/main.js' %}"></script>
80
80
81 <footer class="navigation_panel">
81 <footer class="navigation_panel">
82 <b><a href="{% url "authors" %}">{{ site_name }}</a> {{ version }}</b>
82 <b><a href="{% url "authors" %}">{{ site_name|safe }}</a> {{ version|safe }}</b>
83 {% block metapanel %}{% endblock %}
83 {% block metapanel %}{% endblock %}
84 {% if rss_url %}
84 {% if rss_url %}
85 [<a href="{{ rss_url|safe }}">RSS</a>]
85 [<a href="{{ rss_url|safe }}">RSS</a>]
General Comments 0
You need to be logged in to leave comments. Login now