Changeset 3058 for trunk


Ignore:
Timestamp:
10/25/10 11:22:16 (9 years ago)
Author:
tarmo
Message:

Syntax fixes.

Location:
trunk/skins/lemill
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/collection_clean_view.pt

    r2777 r3058  
    77    </head> 
    88 
    9     <body tal:define="collection_creator here/Creator;" style="margin:5px"> 
     9    <body tal:define="collection_creator here/Creator;" style="margin:5px" i18n:domain="lemill"> 
    1010 
    1111        <h1 i18n:translate="collection_title">Collection: <span i18n:name="title" tal:replace="here/Title"/></h1> 
  • trunk/skins/lemill/front-page.cpt

    r3054 r3058  
    4848<div class="lemill_numbers grid"> 
    4949<p i18n:translate="lemill_numbers"><span i18n:name="teachers" tal:content="oc/teachers" /> teachers from <a href="community/cloud?base=country"><span i18n:name="countries" tal:content="oc/countries" /> countries</a>. <span i18n:name="learning_resources" tal:content="oc/learning_resources" /> learning resources in <a href="content/cloud?base=language"><span i18n:name="languages" tal:content="oc/languages" /> languages</a>.</p> 
    50 <p i18n:translate="lemill_weekly_numbers"><a href="search?created=7&type=MemberFolder"><span i18n:name="weekly_members" tal:content="oc/weekly_members" /> new members</a>, <a href="search?created=7&type=lr"><span i18n:name="weekly_new" tal:content="oc/weekly_new" /> new learning resources</a>. <a href="search?edited=7&type=lr"><span i18n:name="weekly_edited" tal:content="oc/weekly_edited" /> edited resources</a> during the last week.</p> 
     50<p i18n:translate="lemill_weekly_numbers"><a href="search?created=7&amp;type=MemberFolder"><span i18n:name="weekly_members" tal:content="oc/weekly_members" /> new members</a>, <a href="search?created=7&amp;type=lr"><span i18n:name="weekly_new" tal:content="oc/weekly_new" /> new learning resources</a>. <a href="search?edited=7&amp;type=lr"><span i18n:name="weekly_edited" tal:content="oc/weekly_edited" /> edited resources</a> during the last week.</p> 
    5151</div> 
    5252<div class="clear"></div> 
  • trunk/skins/lemill/lemill_community_view.pt

    r3057 r3058  
    3030    <h1>People</h1> 
    3131    <dl> 
    32         <dt><a i18n:translate="label_languages" href="cloud?base=language&type=MemberFolder">Languages</a></dt> 
     32        <dt><a i18n:translate="label_languages" href="cloud?base=language&amp;type=MemberFolder">Languages</a></dt> 
    3333        <dd><span tal:repeat="result context/top3people_languages | nothing"> 
    3434            <a href="" tal:attributes="href python:'language?language=%s' % here.url_quote(result)" tal:content="python:here.script_getPrettyLanguage(result)">PLACEHOLDER</a>, </span><a href="rebuildTop3s" tal:condition="context/amIManager">( rebuild top results )</a><a href="cloud?base=language">...</a> 
    3535        </dd> 
    36         <dt><a i18n:translate="label_country" href="" tal:attributes="href string:cloud?type=MemberFolder&base=country">Country</a></dt> 
    37         <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getLocation_country', 'browse?type=MemberFolder&country=')"> 
     36        <dt><a i18n:translate="label_country" href="" tal:attributes="href string:cloud?type=MemberFolder&amp;base=country">Country</a></dt> 
     37        <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getLocation_country', 'browse?type=MemberFolder&amp;country=')"> 
    3838                <a href="" tal:attributes="href python:result[1]" tal:content="python:result[0]" i18n:translate="">PLACEHOLDER</a>, 
    39             </span><a href="" tal:attributes="href string:cloud?type=MemberFolder&base=country">...</a> 
     39            </span><a href="" tal:attributes="href string:cloud?type=MemberFolder&amp;base=country">...</a> 
    4040        </dd> 
    41         <dt><a i18n:translate="label_subject_areas" href="" tal:attributes="href string:cloud?type=MemberFolder&base=subject_area">Subject areas</a></dt> 
    42         <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getSubject_area', 'browse?type=MemberFolder&subject_area=')"> 
     41        <dt><a i18n:translate="label_subject_areas" href="" tal:attributes="href string:cloud?type=MemberFolder&amp;base=subject_area">Subject areas</a></dt> 
     42        <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getSubject_area', 'browse?type=MemberFolder&amp;subject_area=')"> 
    4343                <a href="" tal:attributes="href python:result[1]" tal:content="python:result[0]" i18n:translate="">PLACEHOLDER</a>, 
    44             </span><a href="" tal:attributes="href string:cloud?type=MemberFolder&base=subject_area">...</a> 
     44            </span><a href="" tal:attributes="href string:cloud?type=MemberFolder&amp;base=subject_area">...</a> 
    4545        </dd> 
    4646 
     
    5050    <h1>Groups</h1> 
    5151    <dl> 
    52         <dt><a i18n:translate="label_languages" href="cloud?base=language&type=GroupBlog">Languages</a></dt> 
     52        <dt><a i18n:translate="label_languages" href="cloud?base=language&amp;type=GroupBlog">Languages</a></dt> 
    5353        <dd><span tal:repeat="result context/top3group_languages | nothing"> 
    5454            <a href="" tal:attributes="href python:'language?language=%s' % here.url_quote(result)" tal:content="python:here.script_getPrettyLanguage(result)">PLACEHOLDER</a>, </span><a href="rebuildTop3s" tal:condition="context/amIManager">( rebuild top results )</a><a href="cloud?base=language">...</a> 
    5555        </dd> 
    56         <dt><a i18n:translate="label_subject_areas" href="" tal:attributes="href string:cloud?type=GroupBlog&base=subject_area">Subject areas</a></dt> 
    57         <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getSubject_area', 'browse?type=GroupBlog&subject_area=')"> 
     56        <dt><a i18n:translate="label_subject_areas" href="" tal:attributes="href string:cloud?type=GroupBlog&amp;base=subject_area">Subject areas</a></dt> 
     57        <dd><span tal:repeat="result python:context.portal_catalog.getTopFive(results,'getSubject_area', 'browse?type=GroupBlog&amp;subject_area=')"> 
    5858                <a href="" tal:attributes="href python:result[1]" tal:content="python:result[0]" i18n:translate="">PLACEHOLDER</a>, 
    59             </span><a href="" tal:attributes="href string:cloud?type=GroupBlog&base=subject_area">...</a> 
     59            </span><a href="" tal:attributes="href string:cloud?type=GroupBlog&amp;base=subject_area">...</a> 
    6060        </dd> 
    6161    </dl> 
  • trunk/skins/lemill/portlet_add_content.pt

    r3052 r3058  
    1414    <div class="portlet-title" i18n:translate="heading_my_content">My content</div> 
    1515<ul> 
    16     <li><a i18n:translate="label_drafts" href="#" tal:attributes="href string:${portal_url}/content/browse?state=draft&author=${memberid}">Drafts</a></li> 
    17     <li><a i18n:domain="plone" i18n:translate="label_published" href="#" tal:attributes="href string:${portal_url}/content/browse?state=public&author=${memberid}">Published</a></li> 
     16    <li><a i18n:translate="label_drafts" href="#" tal:attributes="href string:${portal_url}/content/browse?state=draft&amp;author=${memberid}">Drafts</a></li> 
     17    <li><a i18n:domain="plone" i18n:translate="label_published" href="#" tal:attributes="href string:${portal_url}/content/browse?state=public&amp;author=${memberid}">Published</a></li> 
    1818    <li><a i18n:translate="label_collections" href="#" tal:attributes="href string:${context/lemill_usertool/getMemberFolderURL}/collections">Collections</a></li> 
    1919</ul> 
Note: See TracChangeset for help on using the changeset viewer.