summaryrefslogtreecommitdiffstats
path: root/templates/badges.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 16:48:38 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 16:48:38 -0500
commit3c4c71fc19865bfb75231c425fae31c6b2c211de (patch)
tree535fc16fef76b1e89e136c3e4a0947fe8613fe01 /templates/badges.html
parentbdf1cc4f9dd3f0ac06ba1af3c7d35c72cc358297 (diff)
downloadaskbot-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/badges.html')
-rw-r--r--templates/badges.html76
1 files changed, 0 insertions, 76 deletions
diff --git a/templates/badges.html b/templates/badges.html
deleted file mode 100644
index 8de93df5..00000000
--- a/templates/badges.html
+++ /dev/null
@@ -1,76 +0,0 @@
-{% extends "base.html" %}
-<!-- template badges.html -->
-{% load extra_tags %}
-{% load humanize %}
-{% load i18n %}
-{% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %}
-{% block forejs %}
- <script type="text/javascript">
- $().ready(function(){
- $("#nav_badges").attr('className',"on");
- });
-
- </script>
-{% endblock %}
-{% block content %}
-<div class="headlineA">
- <span class="headMedals">{% trans "Badges" %}</span>
-</div>
-<div class="badges" id="main-body" style="width:100%">
- <p>
- {% trans "Community gives you awards for your questions, answers and votes." %}<br/>
- {% blocktrans %}Below is the list of available badges and number
- of times each type of badge has been awarded. Give us feedback at {{feedback_faq_url}}.
- {% endblocktrans %}
- </p>
- <div id="medalList">
- {% for badge in badges %}
- <div style="clear:both;line-height:30px">
- <div style="float:left;min-width:30px;text-align:right;height:30px">
- {% for a in mybadges %}
- {% ifequal a.badge_id badge.id %}
- <span style="font-size:175%; padding-right:5px; color:#5B9058;">&#10004;</span>
- {% endifequal %}
- {% endfor %}
- </div>
- <div style="float:left;width:230px;">
- <a href="{{badge.get_absolute_url}}" title="{{ badge.get_type_display }} : {{ badge.description }}" class="medal"><span class="badge{{ badge.type }}">&#9679;</span>&nbsp;{{ badge.name }}</a><strong> &#215; {{ badge.awarded_count|intcomma }}</strong>
- </div>
- <p style="float:left;margin-top:8px;">
- {{ badge.description }}
- </p>
- </div>
- {% endfor %}
- </div>
-</div>
-{% endblock %}
-{% block sidebar %}
-
-<div class="boxC">
- <h3>{% trans "Community badges" %}</h3>
- <div class="body">
- <p>
- <a style="cursor:default;" title="gold badge: the highest honor and is very rare" class="medal"><span class="badge1">&#9679;</span>&nbsp;{% trans "gold" %}</a>
- </p>
- <p>
- {% trans "gold badge description" %}
- </p>
- <p>
- <a style="cursor:default;"
- title="silver badge: occasionally awarded for the very high quality contributions"
- class="medal"><span class="badge2">&#9679;</span>&nbsp;{% trans "silver" %}</a>
- </p>
- <p>
- {% trans "silver badge description" %}
- </p>
- <p>
- <a style="cursor:default;" title="{% trans "bronze badge: often given as a special honor" %}" class="medal">
- <span class="badge3">&#9679;</span>&nbsp;{% trans "bronze" %}</a>
- </p>
- <p>
- {% trans "bronze badge description" %}
- </p>
- </div>
-</div>
-{% endblock %}
-<!-- end template badges.html -->