Ignore:
Timestamp:
02/03/05 17:27:28 (8 years ago)
Author:
moschny
Message:

Merging 0.8-1233 into main branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/trunk/templates/macros.cs

    r2581 r2590  
    2424 set:first = #1 ?> 
    2525 <h1><?cs 
    26   each:part=path ?><a <?cs  
    27    if:first ?>class="first" title="Go to root directory" <?cs  
     26  each:part = path ?><?cs 
     27   set:last = name(part) == len(path) - #1 ?><a<?cs  
     28   if:first ?> class="first" title="Go to root directory"<?cs  
    2829    set:first = #0 ?><?cs  
    29    else ?>title="Go to directory" <?cs 
    30    /if ?>href="<?cs var:part.url ?>"><?cs var:part ?></a><?cs 
    31    if:!part.last ?><span class="sep">/</span><?cs 
    32    /if ?><?cs  
     30   else ?> title="Go to directory"<?cs 
     31   /if ?> href="<?cs var:part.url ?>"><?cs var:part ?></a><?cs 
     32   if:file.filename || !last ?><span class="sep">/</span><?cs /if ?><?cs  
    3333 /each ?><?cs 
    3434 if:file.filename ?><span class="filename"><?cs var:file.filename ?></span><?cs 
Note: See TracChangeset for help on using the changeset viewer.