##// END OF EJS Templates
Fixed medadata design when an image is present. Added a method to determine if the tag is empty (has no attached threads).
Fixed medadata design when an image is present. Added a method to determine if the tag is empty (has no attached threads).

File last commit:

r33:45bad15a default
r33:45bad15a default
Show More
base.html
31 lines | 698 B | text/html | HtmlLexer
{% load staticfiles %}
{% load i18n %}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
href="{% static "css/base_page.css" %}" media="all"/>
{% block head %}{% endblock %}
</head>
<body>
<div id="admin_panel">
{% if request.session.admin == True %}
Admin panel TODO: Need to implement <BR />
{% endif %}
</div>
<div id="navigation_panel">
<a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
{% for tag in tags %}
<a class="tag" href=" {% url 'tag' tag_name=tag.name %}">
{{ tag.name }}</a>({{ tag.get_post_count }})
{% endfor %}
</div>
{% block content %}{% endblock %}
</body>
</html>