Revision: 529
Author: fragro
Date: Thu Jan 27 01:48:18 2011
Log: added a favicon to satiate internet explorer, after all these years.
http://code.google.com/p/pirate-politics/source/detail?r=529
Added:
/trunk/pirate-politics/static/button.png
/trunk/pirate-politics/static/favicon.ico
Modified:
/trunk/pirate-politics/new_templates/_issue.html
/trunk/pirate-politics/new_templates/_solution.html
/trunk/pirate-politics/new_templates/base.html
=======================================
--- /dev/null
+++ /trunk/pirate-politics/static/button.png Thu Jan 27 01:48:18 2011
@@ -0,0 +1,11 @@
+‰PNG
+
+
+IHDR d G,Z` tEXtSoftware Adobe ImageReadyqÉe< ·IDATxÚÄŽA Â
C!¥Àà
+Ü{ÿ›u' ¯8Ñv§ne‘÷“À~
+á b .Ä
+bŠ;bL 9gŠHÎ;¤ÐJÙQ^Y #)F—rPa&
+$lI"¯LØÚ=9†îHéÜa{‡Y“y6 arnŒáàì| ë·âoòó»‡,Ëâ±m Êæ°öîÑ· ´FjêÑ´yTŠªZ¡•Ö¨Ö
+ËØÖ;ÛÊŒ
+Ú3}·êÏ{
+ÕÚA ‹Ìz¬«më}õO ‘Mtø h.A IEND®B`‚
=======================================
--- /dev/null
+++ /trunk/pirate-politics/static/favicon.ico Thu Jan 27 01:48:18 2011
Binary file, no diff available.
=======================================
--- /trunk/pirate-politics/new_templates/_issue.html Tue Jan 25 15:15:31
2011
+++ /trunk/pirate-politics/new_templates/_issue.html Thu Jan 27 01:48:18
2011
@@ -4,6 +4,7 @@
{% load consensustags %}
{% load argumenttags %}
{% load solutiontags %}
+{% load commenttags %}
{% if iss_obj %}
@@ -44,7 +45,11 @@
</div>
<div class="col3">
- 0 comments
+ {% pp_comment_count
object=
iss_obj.id %}
+
+ {{ pp_comment.count }}
comment{{ pp_comment.count|pluralize}}
+
+ {% endpp_comment_count %}
</div>
</div>
</div>
=======================================
--- /trunk/pirate-politics/new_templates/_solution.html Tue Jan 25 15:15:31
2011
+++ /trunk/pirate-politics/new_templates/_solution.html Thu Jan 27 01:48:18
2011
@@ -5,6 +5,7 @@
{% load argumenttags %}
{% load solutiontags %}
{% load commenttags %}
+{% load commenttags %}
{% if iss_obj %}
@@ -38,7 +39,11 @@
submitted by<a href="{% pp_url template='user_profile.html'
object=iss_obj.user %}">{{iss_obj.user.username}}</a>
</div>
<div class="col3">
- {{comment_count}} comment{{comment_count|pluralize }}
+ {% pp_comment_count
object=
iss_obj.id %}
+
+ {{ pp_comment.count }}
comment{{ pp_comment.count|pluralize}}
+
+ {% endpp_comment_count %}
</div>
</div>
</div>
=======================================
--- /trunk/pirate-politics/new_templates/base.html Wed Jan 26 15:29:32 2011
+++ /trunk/pirate-politics/new_templates/base.html Thu Jan 27 01:48:18 2011
@@ -12,6 +12,8 @@
xml:lang="{% firstof LANGUAGE_CODE 'en' %}"
lang="{% firstof LANGUAGE_CODE 'en' %}">
<head>
+
+ <link rel="shortcut icon" href="/static/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
@@ -24,8 +26,6 @@
<script type="text/javascript"
src="/static/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="jCollapsible.min.js"></script>
-
<script type="text/javascript">
jQuery(document).ready(function(){