Changeset 748

Show
Ignore:
Timestamp:
05/07/07 18:41:34 (1 year ago)
Author:
brian
Message:

switched the version of jquery to execute and some i18n strings in templates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee-www/trunk/cherokee/blog/templates/blog/comment_list.html

    r746 r748  
    1 {% load comments %} 
     1{% load i18n comments %} 
    22{% get_free_comment_list for blog.post params.id as comment_list %} 
    33{% if comment_list %} 
     
    77        <strong>{{ comment.person_name }}</strong> says: 
    88        <blockquote>{{ comment.comment }}</blockquote> 
    9         <p>{{ comment.submit_date|timesince }} ago</p> 
     9        <p>{{ comment.submit_date|timesince }} {% trans "ago" %}</p> 
    1010    </li> 
    1111    {% endfor %} 
    1212</ul> 
    1313{% else %} 
    14 <p>No comments to display.</p> 
     14<p>{% trans "No comments to display." %}</p> 
    1515{% endif %} 
  • cherokee-www/trunk/cherokee/blog/templates/blog/post_archive.html

    r746 r748  
    11{% extends "base.html" %} 
    2 {% load text comments %} 
     2{% load i18n text comments %} 
    33 
    44{% block extrahead %} 
     
    2525            <ul class="post_info_line"> 
    2626                <li><a href="#" onclick="show_comments(this, {{ post.id }}, '{{ comment_count }} comment{{ comment_count|pluralize }}', 'hide comment{{ comment_count|pluralize }}'); return false;">{{ comment_count }} comment{{ comment_count|pluralize }}</a></li> 
    27                 <li><a href="#" onclick="show_add_comment({{ post.id }}); return false;">say something</a></li> 
    28                 <li><a href="#" onclick="digg_this('{{ post_headline }}', '{{ post.get_absolute_url }}'); return false;" id="digg_this">digg this</a></li> 
    29                 <li><a href="http://del.icio.us/post" onclick="delicious_bookmark('{{ post.headline }}', '{{ post.get_absolute_url }}'); return false;" id="delicious">save this</a></li> 
     27                <li><a href="#" onclick="show_add_comment({{ post.id }}); return false;">{% trans "say something" %}</a></li> 
     28                <li><a href="#" onclick="digg_this('{{ post_headline }}', '{{ post.get_absolute_url }}'); return false;" id="digg_this">{% trans "digg this" %}</a></li> 
     29                <li><a href="http://del.icio.us/post" onclick="delicious_bookmark('{{ post.headline }}', '{{ post.get_absolute_url }}'); return false;" id="delicious">{% trans "save this" %}</a></li> 
    3030            </ul> 
    3131