~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/templates/distroseries-initialize.pt

[r=benji][bug=795573,
 796233] On DistroSeries:+localpackagediffs ensure that the comment
 form is hidden after adding a new comment to a DistroSeriesDifference,
 prevent empty comments from being submitted,
 and add some animations and effects to make the UI less jarring and easier to
 follow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
  </metal:head-epilogue>
13
13
  <body>
14
14
    <div metal:fill-slot="main">
15
 
      <tal:enabled condition="view/is_derived_series_feature_enabled">
 
15
 
 
16
      <tal:enabled condition="view/show_derivation_form">
16
17
      <div class="top-portlet">
17
18
        This page allows you to initialize a distribution series.
18
19
        <a href="/+help/init-series-title-help.html"
19
20
           target="help" class="sprite maybe">&nbsp;
20
21
          <span class="invisible-link">Initialization help</span></a>
21
 
 
22
22
      </div>
23
23
      <p class="error message javascript-disabled">
24
24
        Javascript is required to use this page. Please enable
42
42
        many thousands of packages is likely to take hours to complete.
43
43
      </p>
44
44
      </tal:enabled>
45
 
      <tal:disabled condition="not:view/is_derived_series_feature_enabled">
 
45
 
 
46
      <tal:disabled condition="view/show_derivation_not_yet_available">
46
47
      <p class="error message">
47
48
        The Derivative Distributions feature is under development
48
49
        and is not yet generally available. You can read more about
51
52
        page</a>.
52
53
      </p>
53
54
      </tal:disabled>
 
55
 
 
56
      <tal:already-initialized condition="view/show_already_initialized_message">
 
57
      <p class="error message">
 
58
        This series already contains source packages and cannot be
 
59
        initialized again.
 
60
      </p>
 
61
      </tal:already-initialized>
 
62
 
 
63
      <tal:already-initializing
 
64
          condition="view/show_already_initializing_message">
 
65
      <p class="error message">
 
66
        This series is already being initialized.
 
67
      </p>
 
68
      </tal:already-initializing>
 
69
 
54
70
    </div>
55
71
  </body>
56
72
</html>