Ignore:
Timestamp:
12/12/06 15:38:12 (13 years ago)
Author:
jukka
Message:

Fixed #1026. Refactored user resources to not generate new topics for every user and use general portfolio-topic. Unauthenticated users tried to create them when one didn't exist in viewed memberfolder. In general I have a gutfeeling that having many so topics reduces their efficiency, but I am open to arguments, it's only feeling.

File:
1 edited

Legend:

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

    r1214 r1215  
    4444    <h1 tal:condition="python:here.id=='portfolio' and filter"><span i18n:translate="" tal:content="python:filter.capitalize()">Content</span> <span i18n:translate="by_author"> by <span i18n:name="authors_name" tal:content="here/NiceName">author</span></span></h1> 
    4545    <h1 tal:condition="python:here.id=='portfolio' and not filter and not searchterm" i18n:translate="heading_user_tagcloud">User tagcloud: <span i18n:name="authors_name" tal:content="here/NiceName | nothing">author</span></h1> 
    46     <h1 tal:condition="python:here.id not in ('drafts','published','portfolio') or (here.id=='portfolio' and searchterm)"> 
     46    <h1 tal:condition="python:here.id not in ('drafts','published','portfolio') or (here.id=='portfolio' and len(searchterm)>1)"> 
    4747        <tal:cond tal:condition="python: tagcloud_type!='hits'" i18n:translate="" tal:content="string:Browse ${topic_name}"></tal:cond>  
    4848        <tal:cond tal:condition="python:tagcloud_type=='hits'"> 
Note: See TracChangeset for help on using the changeset viewer.