~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/collapse-all-button.pt

  • Committer: Martin Albisetti
  • Date: 2008-10-10 19:26:48 UTC
  • mfrom: (218.2.7 loggerhead.empty_branch)
  • Revision ID: martin.albisetti@canonical.com-20081010192648-3ubztpqkk3ky303q
Fix bug #258710, /files page explodes in an empty branch. (Marius Kruger)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<tal:block>
 
2
  <a tal:attributes="class string:hide-all collapse-${group}-hideall;
 
3
                     href string:javascript:collapseAllDisplay('${group}','none')">
 
4
    <img tal:attributes="src python:branch.static_url('/static/images/nav-small-down.gif')"
 
5
         width="10" height="10" alt="collapse"
 
6
         class="collapse-triangle" />
 
7
    collapse all
 
8
  </a>
 
9
  <a tal:attributes="class string:hide-all collapse-${group}-showall;
 
10
                     href string:javascript:collapseAllDisplay('${group}','${normal}')">
 
11
    <img tal:attributes="src python:branch.static_url('/static/images/nav-small-right.gif')"
 
12
         width="10" height="10" alt="expand"
 
13
         class="collapse-triangle" />
 
14
    expand all
 
15
  </a>
 
16
</tal:block>