Changeset 552


Ignore:
Timestamp:
07/31/06 16:06:50 (13 years ago)
Author:
vahur
Message:

closes #575 spent 20m

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Story.py

    r536 r552  
    5757            startup_directory = "content", 
    5858            size = 4, 
    59  
    6059            label = "Related Content", 
    6160            label_msgid = "label_related_content", 
     
    8180            startup_directory = "activities", 
    8281            size = 4, 
    83  
    8482            label = "Related Activities", 
    8583            label_msgid = "label_related_activities", 
  • trunk/skins/lemill/computeStoryRelatedItems.py

    r236 r552  
    3636     
    3737    return res 
    38  
    39  
    40  
    41  
    42  
  • trunk/skins/lemill/related_stories.pt

    r477 r552  
    77        <fieldset tal:define="results context/find_related_stories; 
    88        datetime python:modules['DateTime'].DateTime" tal:condition="results"> 
    9         <legend i18n:translate="legend_related_activities">Related Activities</legend> 
     9        <legend i18n:translate="legend_related_tipsforuse">Tips for use</legend> 
    1010        <tal:block repeat="result results"> 
    1111        <div style="display:block" i18n:translate="text_title_by_author_at"> 
  • trunk/skins/lemill/story_relateditems.pt

    r469 r552  
    44<body> 
    55    <div metal:define-macro="relatedItems" 
    6     id="relatedItems" 
    7     tal:define="getInfoFor python:wtool.getInfoFor;"> 
     6         id="relatedItems" 
     7         tal:define="getInfoFor python:wtool.getInfoFor;"> 
    88    <tal:what repeat="what python:['Content', 'Activities', 'Tools']"> 
    99    <tal:relatedItems tal:define="related python:here.computeStoryRelatedItems(what);"> 
Note: See TracChangeset for help on using the changeset viewer.