Changeset 1372


Ignore:
Timestamp:
02/14/07 14:38:04 (13 years ago)
Author:
jukka
Message:

Front-page works with empty lemill-instance now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/front-page.pt

    r1370 r1372  
    77 
    88<div metal:fill-slot="main" style="width:100%" tal:define="story_candidate python:here.lemill_tool.getStoryCandidate(); 
    9 story python:story_candidate['story']; 
    10 null python:here.REQUEST.set('chcontent',story_candidate['chcontent'].UID()); 
    11 null python:here.REQUEST.set('method',story_candidate['method'].UID()); 
    12 null python:here.REQUEST.set('tool',story_candidate['tool'].UID());"> 
     9story python:story_candidate['story'];"> 
    1310 
    1411<table border="0" cellpadding="0" cellspacing="0" width="780"> 
     
    4037            <tr> 
    4138                <td width="160" class="content_coverimage_cell"> 
    42                                     <a href="#" tal:attributes="href string:${story_candidate/chcontent/absolute_url}/view"> 
     39                                    <a href="#" tal:attributes="href story_candidate/chcontent/view/absolute_url | string:content"> 
    4340                    <img tal:attributes="src story_candidate/chcontent/coverImage/absolute_url | string:images/default_learningresource.png; 
    4441                                        alt story_candidate/chcontent/Title | nothing;" src="images/default_learningresource.png" alt="Cover image" /> 
     
    4643                </td> 
    4744                <td width="160" class="method_coverimage_cell"> 
    48                 <a href="#" tal:attributes="href story_candidate/method/absolute_url | nothing"> 
     45                <a href="#" tal:attributes="href story_candidate/method/absolute_url | string:methods"> 
    4946                    <img tal:attributes="src story_candidate/method/coverImage/absolute_url | string: images/default_method.png; 
    5047                                        alt story_candidate/method/Title | nothing;" src="images/default_method.png" alt="Cover image" /> 
     
    5249                </td> 
    5350                <td width="160" class="tool_coverimage_cell"> 
    54                 <a href="#" tal:attributes="href story_candidate/tool/absolute_url | nothing"> 
     51                <a href="#" tal:attributes="href story_candidate/tool/absolute_url | string:tools"> 
    5552                    <img tal:attributes="src story_candidate/tool/coverImage/absolute_url | string: images/default_tool.png; 
    5653                                        alt story_candidate/tool/Title | nothing;" src="images/default_tool.png" alt="Cover image" /> 
Note: See TracChangeset for help on using the changeset viewer.