Skip to content
Browse files

Limpando restos do social.

  • Loading branch information...
1 parent fd94909 commit 9a57bccea6bdc6047aca07df04d2bfcb45f722ff @nelas committed Oct 19, 2011
View
3 articles/templates/articles/base.html
@@ -43,9 +43,6 @@
{% block sidebar %}
<aside class="span-8 last">
- <div class="align-center borders block shadow">
- {% include 'social.html' with linear='False' %}
- </div>
<div class="borders block shadow">
<h2 class="title">{% trans 'Recent Articles' %}</h2>
{% get_articles 10 as recent %}
View
8 itis.py
@@ -73,7 +73,7 @@ def __init__(self, query):
def translate(self, rank):
'''Traduz nome do ranking pra português.'''
-
+
en2pt = {
'Subform': u'Subforma',
'Superorder': u'Superordem',
@@ -121,7 +121,7 @@ def translate(self, rank):
def get_tsn(self, query):
'''Encontra o identificador do táxon.
-
+
Exemplo do XML de input:
<ns:searchByScientificNameResponse>
@@ -187,7 +187,7 @@ def get_tsn(self, query):
def get_hierarchy(self, tsn):
'''Encontra hierarquia e converte valores.
-
+
O formato vindo do SOAP não serve para criar as instâncias no Django.
Por isso é necessário converter em unicode e int, além de traduzir os
rankings.
@@ -220,7 +220,7 @@ def get_hierarchy(self, tsn):
def get_parent(self, tsn):
'''Encontra o táxon pai.
-
+
Exemplo do XML de input:
<ns:getHierarchyUpFromTSNResponse>
View
2 meta/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-10-18 20:03-0200\n"
+"POT-Creation-Date: 2011-10-18 21:12-0200\n"
"PO-Revision-Date: 2011-10-18 20:02\n"
"Last-Translator: <organelas@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
View
2 meta/templates/main_page.html
@@ -46,7 +46,7 @@
<span class="feed-icon fashion"><a href="/blog/feed/latest/" title="{% trans 'Cifonauta: últimas notícias' %}">{% trans 'Notícias recentes' %} <img src="{{ STATIC_URL }}feed.png" alt="RSS" /></a></span>
<span class="feed-icon fashion"><a href="/feed/latest/all/" title="{% trans 'Cifonauta: últimas fotos e vídeos' %}">{% trans 'Últimas imagens' %} <img src="{{ STATIC_URL }}feed.png" alt="RSS" /></a></span>
&nbsp; | &nbsp;
- {% include 'social.html' with linear='True' %}
+ {% include 'social.html' %}
</div>
<div class="main span-8" id="photos">
View
3 meta/templates/social.html
@@ -1,7 +1,6 @@
{% load i18n cache %}
{% get_current_language as LANGUAGE_CODE %}
-{% if linear == 'True' %}
{% cache 2592000 social LANGUAGE_CODE linear %}
<!-- Twitter -->
@@ -14,5 +13,3 @@
<div class="fb-like" data-href="http://www.facebook.com/pages/Cifonauta/163979623658905" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
{% endcache %}
-{% endif %}
-

0 comments on commit 9a57bcc

Please sign in to comment.
Something went wrong with that request. Please try again.