~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/templates/distroseriesdifference-listing-extra.pt

[r=benji][bug=760648] Do not display any diff information on
        +localpackagediffs when no diffs are available and the user
        does not have rights to request their calculation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    <dd tal:condition="not: context/base_version">
45
45
      Unknown
46
46
    </dd>
 
47
    <tal:package-diffs-info condition="view/display_package_diffs_info">
47
48
    <dt
48
49
      tal:condition="view/show_package_diffs_request_link"
49
50
      class="package-diff-placeholder">
53
54
        </span>
54
55
    </dt>
55
56
    <dt
56
 
      tal:condition="python: not(view.show_package_diffs_request_link) and context.base_version">
 
57
      tal:condition="not:view/show_package_diffs_request_link">
57
58
      Differences from last common version:
58
59
    </dt>
59
 
    <dd tal:condition="context/base_version">
 
60
    <dd tal:condition="view/display_diffs">
60
61
      <ul class="package-diff-status">
61
62
        <tal:source-diff-option condition="view/display_child_diff">
62
63
          <li tal:condition="context/package_diff">
85
86
            </span>
86
87
          </li>
87
88
        </tal:source-diff-option>
88
 
 
89
89
        <tal:parent-diff-option condition="view/display_parent_diff">
90
90
          <li tal:condition="context/parent_package_diff">
91
91
            <span tal:condition="context/parent_package_diff/status/enumvalue:PENDING"
113
113
            </span>
114
114
          </li>
115
115
        </tal:parent-diff-option>
116
 
 
117
116
      </ul>
118
117
    </dd>
 
118
    </tal:package-diffs-info>
 
119
 
119
120
    </tal:package-diffs>
120
121
  </dl>
121
122