Show
Ignore:
Timestamp:
03/30/09 15:41:16 (12 months ago)
Author:
JensDiemer
Message:

ticket:261 i18n datetimes: Use template filter: |date:_("DATETIME_FORMAT")

Location:
trunk/pylucid_project/media/PyLucid/internal_page
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/media/PyLucid/internal_page/auth/pass_reset_email.html

    r1449 r1857  
    1 A User has request ({{ request_time }}) a password reset for '{{ base_url }}'. 
     1A User has request ({{ request_time|date:_("DATETIME_FORMAT") }}) a password reset for '{{ base_url }}'. 
    22 
    33If this is correct you must go to this Link to set a new pasword: 
     
    55{{ reset_link }} 
    66 
    7 Note: The reset Link expiry {{ expiry_date }}! 
     7Note: The reset Link expiry {{ expiry_date|date:_("DATETIME_FORMAT") }}! 
    88 
    99If this is not correct. Ignore this mail ;) 
  • trunk/pylucid_project/media/PyLucid/internal_page/auth/pass_reset_form.html

    r1449 r1857  
    66  <strong>Note:</strong> 
    77  <ul> 
    8     <li>The reset Link expiry on {{ expiry_date }} (in {{ expiry_time }}sec.)</li> 
     8    <li>The reset Link expiry on {{ expiry_date|date:_("DATETIME_FORMAT") }} (in {{ expiry_time }}sec.)</li> 
    99    <li>You must use the reset Link with the same Browser</li> 
    1010    {% if expire_at_browser_close %} 
  • trunk/pylucid_project/media/PyLucid/internal_page/blog/display_blog.html

    r1834 r1857  
    3434 
    3535        <small><p class="date_info"> 
    36             {% if entry.lastupdateby %}(Last update: {{ entry.lastupdatetime|date:"D d M Y H:i" }} by {{ entry.lastupdateby }}.){% endif %} 
     36            {% if entry.lastupdateby %}(Last update: {{ entry.lastupdatetime|date:_("DATETIME_FORMAT") }} by {{ entry.lastupdateby }}.){% endif %} 
    3737        </p></small> 
    3838 
     
    6161                          {% blocktrans with comment.createtime|timesince as time %}Before {{ time }}{% endblocktrans %} 
    6262                          IP: {{ comment.ip_address }} 
    63                           {% if comment.lastupdateby %}<br />(Last update {{ comment.lastupdatetime }} by {{ comment.lastupdateby }}){% endif %} 
     63                          {% if comment.lastupdateby %}<br />(Last update {{ comment.lastupdatetime|date:_("DATETIME_FORMAT") }} by {{ comment.lastupdateby }}){% endif %} 
    6464                        </small> 
    6565                    </legend> 
  • trunk/pylucid_project/media/PyLucid/internal_page/blog/notify_mailtext.html

    r1691 r1857  
    88  homepage.....: {% if comment_entry.homepage %}{{ comment_entry.homepage }}{% else %}-{% endif %} 
    99  IP Address...: {{ comment_entry.ip_address }} 
    10   submit time..: {{ comment_entry.createtime }} 
     10  submit time..: {{ comment_entry.createtime|date:_("DATETIME_FORMAT") }} 
    1111 
    1212--[submit messages]------------------------------------------------------------ 
     
    3030  is public.......: {{ blog_entry.is_public|yesno:"yes,no,-" }} 
    3131  create by.......: {{ blog_entry.createby }} 
    32   created.........: {{ blog_entry.createtime }} 
     32  created.........: {{ blog_entry.createtime|date:_("DATETIME_FORMAT") }} 
    3333  last update by..: {% if blog_entry.lastupdateby %}{{ blog_entry.lastupdateby }}{% else %}-{% endif %} 
    34   last update time: {% if blog_entry.lastupdatetime %}{{ blog_entry.lastupdatetime }}{% else %}-{% endif %} 
     34  last update time: {% if blog_entry.lastupdatetime %}{{ blog_entry.lastupdatetime|date:_("DATETIME_FORMAT") }}{% else %}-{% endif %} 
    3535 
    3636--[blog entry text]------------------------------------------------------------ 
  • trunk/pylucid_project/media/PyLucid/internal_page/page_update_list/PageUpdateTable.html

    r1449 r1857  
    88  {% for item in page_updates %} 
    99  <tr> 
    10     <td>{{ item.lastupdatetime }}</td> 
     10    <td>{{ item.lastupdatetime|date:_("DATETIME_FORMAT") }}</td> 
    1111    <td><a href="{{ item.get_absolute_url }}">{% if item.title %}{{ item.title|escape }}{% else %}{{ item.name|escape }}{% endif %}</a></td> 
    1212    <td>{{ item.lastupdateby }}</td> 
  • trunk/pylucid_project/media/PyLucid/internal_page/preference_editor/select.html

    r1663 r1857  
    44  <li> 
    55    <a href="{{ edit_link }}{{ plugin.default_pref.id }}/" class="pref_entry" 
    6       title="{{ plugin.default_pref.comment }} - created: {{ plugin.default_pref.createtime }} by '{{ plugin.default_pref.createby }}' - lastupdate: {{ plugin.default_pref.lastupdatetime }} by '{{ plugin.default_pref.lastupdateby }}'" 
     6      title="{{ plugin.default_pref.comment }} - created: {{ plugin.default_pref.createtime|date:_("DATETIME_FORMAT") }} by '{{ plugin.default_pref.createby }}' - lastupdate: {{ plugin.default_pref.lastupdatetime|date:_("DATETIME_FORMAT") }} by '{{ plugin.default_pref.lastupdateby }}'" 
    77      ><strong>{{ plugin }}</strong></a> 
    88    <small><a href="{{ admin_link }}{{ plugin.default_pref.id }}/" onclick="OpenInWindow(this); return false" title="{% trans 'edit this default preference entry in django admin panel' %}">id: {{ plugin.default_pref.id }}</a></small> 
     
    1212            <li> 
    1313                <a href="{{ edit_link }}{{ pref.id }}/" class="pref_entry" 
    14                   title="created: {{ pref.createtime }} by '{{ pref.createby }}' - lastupdate: {{ pref.lastupdatetime }} by '{{ pref.lastupdateby }}'" 
     14                  title="created: {{ pref.createtime|date:_("DATETIME_FORMAT") }} by '{{ pref.createby }}' - lastupdate: {{ pref.lastupdatetime|date:_("DATETIME_FORMAT") }} by '{{ pref.lastupdateby }}'" 
    1515                  >{{ pref.comment }}</a> 
    1616                <small><a href="{{ admin_link }}{{ pref.id }}/" onclick="OpenInWindow(this); return false" title="{% trans 'edit in django admin panel' %}">id: {{ pref.id }}</a></small>