~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/changelog.pt

MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
              />
14
14
 
15
15
        <script type="text/javascript"
16
 
                tal:attributes="src python:tg.url('/static/javascript/mootools.js')">
17
 
        </script>
18
 
        <script type="text/javascript"
19
 
                tal:attributes="src python:tg.url('/static/javascript/collapse.js')">
20
 
        </script>
21
 
        <script type="text/javascript"
22
 
                tal:attributes="src python:tg.url('/static/javascript/custom.js')">
 
16
                tal:attributes="src python:branch.static_url('/static/javascript/mootools.js')">
 
17
        </script>
 
18
        <script type="text/javascript"
 
19
                tal:attributes="src python:branch.static_url('/static/javascript/collapse.js')">
 
20
        </script>
 
21
        <script type="text/javascript"
 
22
                tal:attributes="src python:branch.static_url('/static/javascript/custom.js')">
23
23
        </script>
24
24
      </metal:block>
25
25
    </head>
57
57
 
58
58
        <p tal:condition="changes"
59
59
           class="changelog">
60
 
          <tal:b content="structure python:collapse_all_button('cl')" />
 
60
          <tal:b content="structure python:collapse_all_button('cl', branch)" />
61
61
        </p>
62
62
 
63
63
        <table class="log-entries"
84
84
            <tr tal:attributes="class string:revision-header parity${entry/parity}">
85
85
              <td class="revision-number">
86
86
                <a tal:attributes="title python:'Show revision '+entry.revno;
87
 
                                   href  python:url(['/revision', entry.revno], clear=1)"
 
87
                                   href  python:url(['/revision', entry.revno])"
88
88
                   tal:content="python:util.trunc(entry.revno)">
89
89
                  text
90
90
                </a>
91
91
              </td>
92
92
              <td class="expand-button" tal:define="name entry/revno"
93
 
                  tal:content="structure python:collapse_button('cl', entry.revno)">
 
93
                  tal:content="structure python:collapse_button('cl', entry.revno, branch)">
94
94
              </td>
95
95
              <td class="summary">
96
96
                <a tal:attributes="title python:'Show revision '+entry.revno;
97
 
                                   href  python:url(['/revision', entry.revno], clear=1)"
 
97
                                   href  python:url(['/revision', entry.revno])"
98
98
                   tal:content="entry/short_comment">
99
99
                  text
100
100
                </a>