Author: jtauber
Date: Sat Sep 27 01:22:01 2008
New Revision: 937
Modified:
trunk/pinax/templates/site_base.html
trunk/pinax/templates/zwitschern/base.html
trunk/pinax/templates/zwitschern/listing.html
trunk/pinax/templates/zwitschern/personal.html
trunk/pinax/templates/zwitschern/single.html
Log:
switched to using named urls for zwitschern
Modified: trunk/pinax/templates/site_base.html
==============================================================================
--- trunk/pinax/templates/site_base.html (original)
+++ trunk/pinax/templates/site_base.html Sat Sep 27 01:22:01 2008
@@ -46,7 +46,7 @@
<td class="tab rtab_blogs"><div><a href="{% url
blog.views.blogs %}">{% trans "Blogs" %}</a></div></td>
<td class="tab rtab_projects"><div><a href="{% url
project_thing_list "" %}">{% trans "Projects" %}</a></div></td>
<td class="tab rtab_tribes"><div><a href="{% url
tribe_thing_list "" %}">{% trans "Tribes" %}</a></div></td>
- <td class="tab rtab_tweets"><div><a href="{% url
zwitschern.views.personal %}">{% trans "Tweets" %}</a></div></td>
+ <td class="tab rtab_tweets"><div><a href="{% url
tweets_you_follow %}">{% trans "Tweets" %}</a></div></td>
<td class="tab rtab_bookmarks"><div><a href="{% url
bookmarks.views.bookmarks %}">{% trans "Bookmarks" %}</a></div></td>
<td class="tab rtab_swaps"><div><a href="{% url
swaps.views.offers %}">{% trans "Swaps" %}</a></div></td>
<td class="tab rtab_inbox"><div><a href="{% url
messages_inbox %}">{% trans "Inbox" %} ({% if messages_inbox_count %}{{
messages_inbox_count }}{% else %}0{% endif %}{% if
notice_unseen_count %}+{{ notice_unseen_count }}{% endif %})</a></div></td>
Modified: trunk/pinax/templates/zwitschern/base.html
==============================================================================
--- trunk/pinax/templates/zwitschern/base.html (original)
+++ trunk/pinax/templates/zwitschern/base.html Sat Sep 27 01:22:01 2008
@@ -6,7 +6,7 @@
{% block subnav %}
<ul>
- <li><a href="{% url zwitschern.views.personal %}">{% trans "Tweets
You Follow" %}</a></li>
- <li><a href="{% url zwitschern.views.public %}">{% trans "All
Tweets" %}</a></li>
+ <li><a href="{% url tweets_you_follow %}">{% trans "Tweets You
Follow" %}</a></li>
+ <li><a href="{% url all_tweets %}">{% trans "All
Tweets" %}</a></li>
</ul>
{% endblock %}
Modified: trunk/pinax/templates/zwitschern/listing.html
==============================================================================
--- trunk/pinax/templates/zwitschern/listing.html (original)
+++ trunk/pinax/templates/zwitschern/listing.html Sat Sep 27 01:22:01 2008
@@ -10,12 +10,12 @@
{% if prefix_sender %}<a href="{% url profiles.views.profile
tweet.sender %}"><b>{{ tweet.sender }}</b></a>{% endif %}
{{ tweet.html|safe|oembed|urlize }}
<span class="timesince">{% blocktrans with tweet.sent|
timesince as tweet_age %}{{ tweet_age }} ago{% endblocktrans %}</span>
- <a class="reply" href="{% url
zwitschern.views.personal %}?reply={{ tweet.sender }}">{%
trans "reply" %}</a>
+ <a class="reply" href="{% url tweets_you_follow %}?reply={{
tweet.sender }}">{% trans "reply" %}</a>
</div>
{% endfor %}
{% else %}
{% if are_mine %}
- {% url zwitschern.views.personal as tweets_url %}
+ {% url tweets_you_follow as tweets_url %}
<p>{% blocktrans %}You haven't posted any <a href="{{ tweets_url
}}">tweets</a> yet.{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}There are currently no tweets to be listed.{%
endblocktrans %}</p>
Modified: trunk/pinax/templates/zwitschern/personal.html
==============================================================================
--- trunk/pinax/templates/zwitschern/personal.html (original)
+++ trunk/pinax/templates/zwitschern/personal.html Sat Sep 27 01:22:01 2008
@@ -13,7 +13,7 @@
{% block body %}
<h1>{% trans "Tweets" %}</h1>
- <form method="POST" action="{% url zwitschern.views.personal %}">
+ <form method="POST" action="{% url tweets_you_follow %}">
<p>{% trans "What are you doing?" %}</p>
{{ form.as_p }}
{% if twitter_authorized %}
Modified: trunk/pinax/templates/zwitschern/single.html
==============================================================================
--- trunk/pinax/templates/zwitschern/single.html (original)
+++ trunk/pinax/templates/zwitschern/single.html Sat Sep 27 01:22:01 2008
@@ -14,7 +14,7 @@
<a href="{% url profiles.views.profile tweet.sender %}"><b>{{
tweet.sender }}</b></a>
{{ tweet.html|safe|oembed|urlize }}
<span class="timesince">{{ tweet.sent|timesince }} ago</span>
- <a class="reply" href="{% url
zwitschern.views.personal %}?reply={{ tweet.sender }}">reply</a>
+ <a class="reply" href="{% url tweets_you_follow %}?reply={{
tweet.sender }}">reply</a>
</div>
{% endblock %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---