Blame Artworks/Webenv/Trac/0.10.4/Modern/templates/log.cs

Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
 
    Alain Reguera Delgado 46de3c
      
  • Alain Reguera Delgado 46de3c
       View Latest Revision
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
      if:len(chrome.links.prev) ?>
    Alain Reguera Delgado 46de3c
       
  • Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
          var:chrome.links.prev.0.title ?>">Newer Revisions
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
      /if ?>
    Alain Reguera Delgado 46de3c
      if:len(chrome.links.next) ?>
    Alain Reguera Delgado 46de3c
       
  • Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
          var:chrome.links.next.0.title ?>">Older Revisions →
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
      /if ?>
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
     

    Alain Reguera Delgado 46de3c
     <form id="prefs" action="<?cs var:browser_current_href ?>" method="get">
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
       <input type="hidden" name="action" value="<?cs var:log.mode ?>" />
    Alain Reguera Delgado 46de3c
       <label>View log starting at 
    Alain Reguera Delgado 46de3c
        var:log.items.0.rev ?>" size="5" /></label>
    Alain Reguera Delgado 46de3c
       <label>and back to 
    Alain Reguera Delgado 46de3c
        var:log.stop_rev ?>" size="5" /></label>
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
        <fieldset>
    Alain Reguera Delgado 46de3c
         <legend>Mode:</legend>
    Alain Reguera Delgado 46de3c
         <label for="stop_on_copy">
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
           if:log.mode != "follow_copy" || log.mode != "path_history" ?> checked="checked" 
    Alain Reguera Delgado 46de3c
           /if ?> />
    Alain Reguera Delgado 46de3c
          Stop on copy 
    Alain Reguera Delgado 46de3c
         </label>
    Alain Reguera Delgado 46de3c
         <label for="follow_copy">
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
           if:log.mode == "follow_copy" ?> checked="checked"  />
    Alain Reguera Delgado 46de3c
          Follow copies
    Alain Reguera Delgado 46de3c
         </label>
    Alain Reguera Delgado 46de3c
         <label for="path_history">
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
           if:log.mode == "path_history" ?> checked="checked"  />
    Alain Reguera Delgado 46de3c
          Show only adds, moves and deletes
    Alain Reguera Delgado 46de3c
         </label>
    Alain Reguera Delgado 46de3c
        </fieldset>
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
       <label>
    Alain Reguera Delgado 46de3c
        if:log.verbose ?> checked="checked" 
    Alain Reguera Delgado 46de3c
        /if ?> /> Show full log messages</label>
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
              title="Warning: by updating, you will clear the page history" />
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
     </form>
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
       

    Legend:

    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
        
    Added
    Alain Reguera Delgado 46de3c
        if:log.mode == "path_history" ?>
    Alain Reguera Delgado 46de3c
         
    Removed
    Alain Reguera Delgado 46de3c
        /if ?>
    Alain Reguera Delgado 46de3c
        
    Modified
    Alain Reguera Delgado 46de3c
        
    Copied or renamed
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
     <form  class="printableform" action="<?cs var:log.changeset_href ?>" method="get">
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
           title="Diff from Old Revision to New Revision (select them below)" />
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
        Rev
    Alain Reguera Delgado 46de3c
        Chgset
    Alain Reguera Delgado 46de3c
        Date
    Alain Reguera Delgado 46de3c
        Author
    Alain Reguera Delgado 46de3c
        Log Message
    Alain Reguera Delgado 46de3c
       
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
       set:indent = #1 ?>
    Alain Reguera Delgado 46de3c
       set:idx = #0 ?>
    Alain Reguera Delgado 46de3c
       each:item = log.items ?>
    Alain Reguera Delgado 46de3c
        if:name(item) % #2 ?>
    Alain Reguera Delgado 46de3c
         set:even_odd = "odd" ?>
    Alain Reguera Delgado 46de3c
        else ?>
    Alain Reguera Delgado 46de3c
         set:even_odd = "even" ?>
    Alain Reguera Delgado 46de3c
        /if ?>
    Alain Reguera Delgado 46de3c
        if:item.copyfrom_path ?>
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
           copied from :
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         set:indent = indent + #1 ?>
    Alain Reguera Delgado 46de3c
        elif:log.mode == "path_history" ?>
    Alain Reguera Delgado 46de3c
          set:indent = #1 ?>
    Alain Reguera Delgado 46de3c
        /if ?>
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
                 value="@" 
    Alain Reguera Delgado 46de3c
              if:idx == #1 ?> checked="checked"  />
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
                 value="@" 
    Alain Reguera Delgado 46de3c
              if:idx == #0 ?> checked="checked"  />
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
           
    Alain Reguera Delgado 46de3c
           ()
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
             title="Browse at revision ">@
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          
    Alain Reguera Delgado 46de3c
             title="View changeset []">[]
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
          if:!log.verbose ?>
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
        if:log.verbose ?>
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
         
    Alain Reguera Delgado 46de3c
        
    Alain Reguera Delgado 46de3c
        /if ?>
    Alain Reguera Delgado 46de3c
        set:idx = idx + 1 ?>
    Alain Reguera Delgado 46de3c
       /each ?>
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
     if:len(log.items) > #10 ?>
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
           title="Diff from Old Revision to New Revision (select them above)" />
    Alain Reguera Delgado 46de3c
      
    Alain Reguera Delgado 46de3c
     /if ?>
    Alain Reguera Delgado 46de3c
     </form>
    Alain Reguera Delgado 46de3c
     if:len(links.prev) || len(links.next) ?>
    Alain Reguera Delgado 46de3c
      if:len(links.prev) ?>
    Alain Reguera Delgado 46de3c
       if:!len(links.next) ?> last">← 
    Alain Reguera Delgado 46de3c
       var:links.prev.0.href ?>" title="
    Alain Reguera Delgado 46de3c
       var:links.prev.0.title ?>">Younger Revisions
    Alain Reguera Delgado 46de3c
      /if ?>
    Alain Reguera Delgado 46de3c
      if:len(links.next) ?>
    Alain Reguera Delgado 46de3c
       if:len(links.prev) ?>first last">
    Alain Reguera Delgado 46de3c
       var:links.next.0.href ?>" title="
    Alain Reguera Delgado 46de3c
       var:links.next.0.title ?>">Older Revisions →
    Alain Reguera Delgado 46de3c
      /if ?>
    Alain Reguera Delgado 46de3c
     /if ?>
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
      Note: See 
    Alain Reguera Delgado 46de3c
      ?>/TracRevisionLog">TracRevisionLog for help on using the revision log.
    Alain Reguera Delgado 46de3c
     
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c
    Alain Reguera Delgado 46de3c