Changeset 579:a7e86d0b3429

Show
Ignore:
Timestamp:
05/12/09 12:30:50 (10 months ago)
Author:
Diego Búrigo Zacarão <diegobz@…>
Branch:
default
Message:

Changed name of the body block to make Tx compatible with others django apps

Files:
46 modified

Legend:

Unmodified
Added
Removed
  • docs/_templates/layout.html

    r561 r579  
    3434        <div class="yui-b"> 
    3535          <div class="yui-g" id="{{ pagename|replace('/', '-') }}"> 
    36             {% block body %}{% endblock %} 
     36            {% block content %}{% endblock %} 
    3737          </div>          
    3838        </div> 
  • transifex/templates/403.html

    r533 r579  
    88{% endblock %} 
    99 
    10 {% block body %} 
     10{% block content %} 
    1111 
    1212<p>{% trans "Looks like you do not have the necessary permissions to the required action." %}</p> 
  • transifex/templates/404.html

    r533 r579  
    88{% endblock %} 
    99 
    10 {% block body %} 
     10{% block content %} 
    1111 
    1212<p>{% trans "Looks like you followed a bad link. If you think it's our fault, please <a href='http://transifex.org/newticket'>let us know</a>." %}</p> 
  • transifex/templates/500.html

    r533 r579  
    88{% endblock %} 
    99 
    10 {% block body %} 
     10{% block content %} 
    1111 
    1212<p>{% trans "We're sorry, but the requested page is currently unavailable." %}</p> 
  • transifex/templates/about.html

    r533 r579  
    1010{% endblock %} 
    1111 
    12 {% block body %} 
     12{% block content %} 
    1313 
    1414 
  • transifex/templates/authopenid/changeemail.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Change my email" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99<p class="settings-descr"> 
    1010  {% blocktrans %}This is where you can change the email address associated with your account. 
  • transifex/templates/authopenid/changeopenid.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Change my OpenID" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010<p>{% trans "This is where you can change the OpenID URL associated with your account." %}</p> 
  • transifex/templates/authopenid/changepw.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Change my password" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99<p>{% trans "You can use the following form to change your password." %}</p> 
    1010 
  • transifex/templates/authopenid/complete.html

    r533 r579  
    88{% block head %}{% endblock %} 
    99 
    10 {% block body %} 
     10{% block content %} 
    1111 
    1212        <div id="completetxt"> 
  • transifex/templates/authopenid/delete.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Delete my account" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99<p class="settings-descr">{% blocktrans %}Note: After deleting your account, anyone will be able to register this username.{% endblocktrans %}</p> 
    1010 
  • transifex/templates/authopenid/sendpw.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "I lost my password!" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010<p class="settings-descr">{% trans "No worries! Here you can ask to reset your password by entering the username you use. You will then get a confirmation email with your new password. The new password will be activated only after you have clicked on the link in the email." %}</p> 
  • transifex/templates/authopenid/settings.html

    r533 r579  
    2424{% endwith %} 
    2525 
    26 {% block body %} 
     26{% block content %} 
    2727<div id="settings-intro"> 
    2828    <p>{% trans "This is where you can make changes to your account." %} 
  • transifex/templates/authopenid/signin.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Sign in" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010{% blocktrans %} 
  • transifex/templates/authopenid/signup.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Create your account" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010{% blocktrans %} 
  • transifex/templates/base.html

    r533 r579  
    7575    </div> 
    7676    <div id="body"> 
    77       {% block body %} 
     77      {% block content %} 
    7878        <div id="body_sec"> 
    79           {% block body_sec %}{% endblock %} 
     79          {% block content_sec %}{% endblock %} 
    8080        </div> 
    8181        <div id="body_main"> 
     
    8989            {% endif %} 
    9090          {% endblock %} 
    91         {% block body_main %}{% endblock %} 
     91        {% block content_main %}{% endblock %} 
    9292        </div> 
    9393      {% endblock %} 
  • transifex/templates/contact_form/contact_form.html

    r533 r579  
    77{% block content_title %}<h2 class="pagetitle">{% trans "Let us know what you think!" %}</h2>{% endblock %} 
    88 
    9 {% block body %} 
     9{% block content %} 
    1010  <p>{% trans "We'd like to make this web service as useful as possible for our users. If you have any feedback to provide, please do so!" %}</p> 
    1111   
  • transifex/templates/contact_form/contact_form_sent.html

    r533 r579  
    88{% endblock %} 
    99 
    10 {% block body %} 
     10{% block content %} 
    1111  <p>{% trans "Thank you for your feedback." %}</p> 
    1212{% endblock %} 
  • transifex/templates/flatpages/default.html

    r533 r579  
    66{% block body_class %}flat{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010  {{ flatpage.content }} 
  • transifex/templates/index.html

    r533 r579  
    1010{% endblock %} 
    1111 
    12 {% block body %} 
     12{% block content %} 
    1313 
    1414{% if not request.user.is_authenticated %} 
  • transifex/templates/languages/language_detail.html

    r533 r579  
    1212{% block content_title %}<h2 class="pagetitle">{{ language.name }} <sup class="entry_metalink">{{ language.code }}</sup></h2>{% endblock %} 
    1313 
    14 {% block body_main %} 
     14{% block content_main %} 
    1515 
    1616 {% for collection in collection_list %} 
  • transifex/templates/languages/language_list.html

    r533 r579  
    1515{% block content_title %}<h2 class="pagetitle">{% trans "Languages on Transifex" %} {% render_metacount language_list _("languages") %}</h2>{% endblock %} 
    1616 
    17 {% block body_sec %} 
     17{% block content_sec %} 
    1818  <a class="simlink" href="{% url languages_latest_feed %}" title="Languages feed"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    1919{% endblock %} 
    2020 
    21 {% block body_main %} 
     21{% block content_main %} 
    2222  <div class="languages_list multicolumn3"> 
    2323    <ul class="simple"> 
  • transifex/templates/languages/language_release.html

    r533 r579  
    2121{% block breadcrumb %}{{ block.super }} &raquo; <a href="{% url language_detail language.code %}">{{ language.name }}</a> &raquo; {{ release.name }}{% endblock %} 
    2222 
    23 {% block body_sec %} 
     23{% block content_sec %} 
    2424  <a class="simlink" href="{% url language_release_feed language_slug=language.code collection_slug=release.collection.slug release_slug=release.slug %}" title="Statistics feed for this language and release"><img border="0" src="{{ MEDIA_URL }}/images/icons/feed.png" /></a> 
    2525{% endblock %} 
     
    2727{% block content_title %}<h2 class="pagetitle">{{ language.name }}<sup class="entry_metalink">{{ release.name }}</sup></h2>{% endblock %} 
    2828 
    29 {% block body_main %} 
     29{% block content_main %} 
    3030 
    3131{% if pofile_list %} 
  • transifex/templates/notification/notices.html

    r533 r579  
    1212{% endblock %} 
    1313 
    14 {% block body %} 
     14{% block content %} 
    1515 
    1616    <h1>{% trans "Notices" %}</h1> 
  • transifex/templates/notification/single.html

    r533 r579  
    55{% block head_title %}{% trans "Notice" %}{% endblock %} 
    66 
    7 {% block body %} 
     7{% block content %} 
    88    <h1>{% trans "Notice" %}</h1> 
    99     
  • transifex/templates/projects/component_confirm_delete.html

    r533 r579  
    1515{% endblock %} 
    1616 
    17 {% block body %} 
     17{% block content %} 
    1818 
    1919<p>{% blocktrans with component.project.name as project_name and component.name as component_name %} 
  • transifex/templates/projects/component_detail.html

    r576 r579  
    5656 
    5757 
    58 {% block body_main %} 
     58{% block content_main %} 
    5959  <div class="obj_bigdetails"> 
    6060  <h2 class="name">{{ component.project.name }} &raquo; {{ component.name }}</h2> 
  • transifex/templates/projects/component_form.html

    r572 r579  
    8888{% endblock %} 
    8989 
    90 {% block body %} 
     90{% block content %} 
    9191  <div class="component_create generic_form"> 
    9292  {% if form_message %} 
  • transifex/templates/projects/component_lang_detail.html

    r533 r579  
    2222 
    2323 
    24 {% block body_main %} 
     24{% block content_main %} 
    2525  <div class="obj_bigdetails"> 
    2626  <h2 class="name">{{ component.project.name }} &raquo; {{ component.name }}</h2> 
  • transifex/templates/projects/project_confirm_delete.html

    r533 r579  
    1212{% endblock %} 
    1313 
    14 {% block body %} 
     14{% block content %} 
    1515 
    1616<p>{% blocktrans with project.name as project_name %} 
  • transifex/templates/projects/project_detail.html

    r533 r579  
    1717{% block breadcrumb %}{{ block.super }} &raquo; {{ project.name }}{% endblock %} 
    1818 
    19 {% block body_main %} 
     19{% block content_main %} 
    2020  <div class="obj_bigdetails"> 
    2121  <h2 class="name">{{ project.name }}</h2> 
  • transifex/templates/projects/project_form.html

    r533 r579  
    2323{% endblock %} 
    2424 
    25 {% block body %} 
     25{% block content %} 
    2626  <div class="project_create generic_form"> 
    2727  {% if form_message %} 
  • transifex/templates/projects/project_list.html

    r533 r579  
    2828{% endblock %} 
    2929 
    30 {% block body_sec %} 
     30{% block content_sec %} 
    3131  <a class="simlink" href="{% url project_latest_feed %}" title="Projects feed"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    3232{% endblock %} 
    3333 
    34 {% block body_main %} 
     34{% block content_main %} 
    3535  {% autopaginate project_list 20 %} 
    3636  <div class="project_list obj_biglist"> 
  • transifex/templates/releases/release_confirm_delete.html

    r533 r579  
    1010{% endblock %} 
    1111 
    12 {% block body %} 
     12{% block content %} 
    1313 
    1414<p>{% blocktrans with release.name as release_name %} 
  • transifex/templates/releases/release_detail.html

    r533 r579  
    1515{% block breadcrumb %}{{ block.super }} &raquo; {{ release.name }}{% endblock %} 
    1616 
    17 {% block body_sec %} 
     17{% block content_sec %} 
    1818  <a class="simlink" href="{% url release_feed param=release.slug %}" title="release feed"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    1919{% endblock %} 
    2020 
    21 {% block body_main %} 
     21{% block content_main %} 
    2222  <div class="obj_bigdetails"> 
    2323  <h2 class="name">{{ release.name }}</h2> 
  • transifex/templates/releases/release_form.html

    r533 r579  
    2323{% endblock %} 
    2424 
    25 {% block body %} 
     25{% block content %} 
    2626  <div class="release_create"> 
    2727  {% if form_message %} 
  • transifex/templates/releases/release_list.html

    r533 r579  
    2828{% endblock %} 
    2929 
    30 {% block body_sec %} 
     30{% block content_sec %} 
    3131  <a class="simlink" href="{% url release_latest_feed %}" title="Releases feed"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    3232{% endblock %} 
    3333 
    34 {% block body_main %} 
     34{% block content_main %} 
    3535  {% autopaginate release_list 5 %} 
    3636  <div class="release_list obj_biglist"> 
  • transifex/templates/search.html

    r533 r579  
    1717{% endblock %} 
    1818   
    19 {% block body %} 
     19{% block content %} 
    2020 
    2121  {% with "content_header_prim" as extra_searchform_classes %} 
  • transifex/templates/simpleauth/logout.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Sign in" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99{% blocktrans %}<p>You have been logged out.{% endblocktrans %} 
    1010{% endblock %} 
  • transifex/templates/simpleauth/settings.html

    r533 r579  
    1111{% endwith %} 
    1212 
    13 {% block body %} 
     13{% block content %} 
    1414<div id="settings-intro"> 
    1515    <p>{% trans "Any settings associated with your account are presented and possibly modified here." %} 
  • transifex/templates/simpleauth/signin.html

    r533 r579  
    66{% block content_title %}<h2 class="pagetitle">{% trans "Sign in" %}</h2>{% endblock %} 
    77 
    8 {% block body %} 
     8{% block content %} 
    99 
    1010{% blocktrans %} 
  • transifex/templates/txcollections/collection_confirm_delete.html

    r533 r579  
    1010{% endblock %} 
    1111 
    12 {% block body %} 
     12{% block content %} 
    1313 
    1414<p>{% blocktrans with collection.name as collection_name %} 
  • transifex/templates/txcollections/collection_detail.html

    r533 r579  
    1515{% block breadcrumb %}{{ block.super }} &raquo; {{ collection.name }}{% endblock %} 
    1616 
    17 {% block body_main %} 
     17{% block content_main %} 
    1818  <div class="obj_bigdetails"> 
    1919  <h2 class="name">{{ collection.name }}</h2> 
  • transifex/templates/txcollections/collection_form.html

    r533 r579  
    2323{% endblock %} 
    2424 
    25 {% block body %} 
     25{% block content %} 
    2626  <div class="collection_create generic_form"> 
    2727  {% if form_message %} 
  • transifex/templates/txcollections/collection_list.html

    r533 r579  
    2828{% endblock %} 
    2929 
    30 {% block body_sec %} 
     30{% block content_sec %} 
    3131  <a class="simlink" href="{% url collection_latest_feed %}" title="Collections feed"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    3232{% endblock %} 
    3333 
    34 {% block body_main %} 
     34{% block content_main %} 
    3535  {% autopaginate collection_list 5 %} 
    3636  <div class="collection_list obj_biglist"> 
  • transifex/templates/txcollections/release_detail.html

    r533 r579  
    1717{% block breadcrumb %}{{ block.super }} &raquo; {{ release.name }}{% endblock %} 
    1818 
    19 {% block body_sec %} 
     19{% block content_sec %} 
    2020  <a class="simlink" href="{% url release_languages_feed collection_slug=release.collection.slug release_slug=release.slug %}" title="Feed for languages in {{ release.full_name }} release"><img border="0" src="{{ MEDIA_URL }}images/icons/feed.png" /></a> 
    2121{% endblock %} 
    2222 
    23 {% block body_main %} 
     23{% block content_main %} 
    2424  <div class="obj_bigdetails"> 
    2525  <h2 class="name">{{ collection.name }} &raquo; {{ release }}</h2> 
  • transifex/templates/txcollections/release_form.html

    r533 r579  
    3131{% endblock %} 
    3232 
    33 {% block body %} 
     33{% block content %} 
    3434  <div class="release_create generic_form"> 
    3535  {% if form_message %}