~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revision.pt

  • Committer: Max Bowsher
  • Date: 2011-03-10 14:22:12 UTC
  • mto: This revision was merged to the branch mainline in revision 432.
  • Revision ID: maxb@f2s.com-20110310142212-7xp32hm90lq7zz0d
Remove more things related to the removed code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            </a>
81
81
          </li>
82
82
          <li>
83
 
            <a tal:condition="python:compare_revid is None"
 
83
            <a tal:condition="python:len(change.parents) > 0 and compare_revid is None"
84
84
               tal:attributes="href python:url(['/diff', change.revno], clear=1)">download diff</a>
85
85
            <a tal:condition="python:compare_revid is not None"
86
86
               tal:attributes="href python:url(['/diff', change.revno, history.get_revno(compare_revid)], clear=1)">download diff</a>