~ubuntu-branches/ubuntu/precise/trac/precise

« back to all changes in this revision

Viewing changes to trac/versioncontrol/templates/changeset.html

  • Committer: Bazaar Package Importer
  • Author(s): Luis Matos
  • Date: 2008-08-16 00:08:30 UTC
  • mfrom: (1.1.14 upstream) (14.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080816000830-q50gglu6pbj0gas2
Tags: 0.11.1-2
* Upstream version 
  "Trac 0.11.1 contains a number of bug fixes and minor enhancements."
* Patch setup.py to install the contrib dir ( Closes: #495019 )
* Modified compatible version of trac-bzr so that trac 0.11.1 an be
  used with the current trac-bzr version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                       nprops = len(item.props);
56
56
                       is_removal = cl == 'rem';
57
57
                       path = is_removal and item.old.get('path') or item.new.get('path');
58
 
                       path = len(files) == 1 and path or (path and path[len(location):].strip('/'))">
 
58
                       path = path and path[len(location):].strip('/')">
59
59
          <div class="$cl"> </div>
60
60
          <py:choose>
61
61
            <a py:when="is_removal" title="Show what was removed (rev. $item.old.rev)" href="$item.old.href">
117
117
            <py:otherwise><pre>${changeset.message}</pre></py:otherwise>
118
118
          </dd>
119
119
        </py:if>
120
 
        <py:if test="location and len(files) &gt; 1">
 
120
        <py:if test="location">
121
121
          <dt class="property location">Location:</dt>
122
122
          <dd class="searchable"><a href="${req.href.browser(location, rev=new_rev)}">$location</a></dd>
123
123
        </py:if>