diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
commit | 3c4c71fc19865bfb75231c425fae31c6b2c211de (patch) | |
tree | 535fc16fef76b1e89e136c3e4a0947fe8613fe01 /templates/badge.html | |
parent | bdf1cc4f9dd3f0ac06ba1af3c7d35c72cc358297 (diff) | |
download | askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.gz askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.bz2 askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.zip |
started working towards skinning forum app - first step - move templates to app
Diffstat (limited to 'templates/badge.html')
-rw-r--r-- | templates/badge.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/templates/badge.html b/templates/badge.html deleted file mode 100644 index af6aa2a2..00000000 --- a/templates/badge.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base_content.html" %} -<!-- template badge.html --> -{% load i18n %} -{% load extra_tags %} -{% load humanize %} -{% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %} -{% block forejs %} - <script type="text/javascript"> - $().ready(function(){ - $("#nav_badges").attr('className',"on"); - }); - - </script> -{% endblock %} -{% block content %} -<div id="main-bar" class="headNormal"> - {% trans "Badge" %} -</div> -<div id="main-body" style="width:100%;margin-bottom:20px"> - <p> - <a href="{{badge.get_absolute_url}}" title="{{ badge.get_type_display }} : {{ badge.description }}" class="medal"><span class="badge{{ badge.type }}">●</span> {{ badge.name }}</a> {{ badge.description }} - </p> - <div> - {% if badge.awarded_count %} - <p style="float:left"><span class="count">{{ awards|length|intcomma }}</span> - <strong>{% trans "The users have been awarded with badges:" %}</strong></p> - {% endif %} - </div> - <div id="award-list" style="clear:both;margin-left:20px;line-height:25px;"> - {% for award in awards %} - <p style="width:180px;float:left"><a href="{% url users %}{{ award.id }}/{{ award.name }}">{{ award.name }}</a> {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}</p> - {% endfor %} - </div> - -</div> -{% endblock %} -<!-- end template badge.html --> |