~launchpad-pqm/launchpad/devel

10104.4.4 by Abel Deuring
new view +confirm-is-patch shown when a bugattachment is added or when the patch flag of an existing attachment is changed and when LP treats the patch flag setting by the user as possibly wrong.
1
<html
2
  xmlns="http://www.w3.org/1999/xhtml"
3
  xmlns:tal="http://xml.zope.org/namespaces/tal"
4
  xmlns:metal="http://xml.zope.org/namespaces/metal"
5
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6
  metal:use-macro="view/macro:page/main_only"
7
  i18n:domain="malone"
8
>
9
<body>
10
  <div metal:fill-slot="main">
11
12
    <div metal:use-macro="context/@@launchpad_form/form">
13
14
      <div metal:fill-slot="extra_info" class="documentDescription">
15
        <tal:is_patch condition="view/is_patch">
16
          <p>
17
            <strong>This file looks like a patch.</strong>
18
            <small>
10542.10.1 by Karl Fogel
Fix bug #538226 ("What is a patch?" links to typo'd help page):
19
              <a href="https://help.launchpad.net/Bugs/BugAttachments">
10104.4.4 by Abel Deuring
new view +confirm-is-patch shown when a bugattachment is added or when the patch flag of an existing attachment is changed and when LP treats the patch flag setting by the user as possibly wrong.
20
                What is a patch?
21
             </a>
22
            </small>
23
          </p>
24
        </tal:is_patch>
25
        <tal:is_not_patch condition="not: view/is_patch">
26
          <p>
27
            <strong>This file does not look like a patch.
28
            </strong>
29
            <small>
10542.10.1 by Karl Fogel
Fix bug #538226 ("What is a patch?" links to typo'd help page):
30
              <a href="https://help.launchpad.net/Bugs/BugAttachments">
10104.4.4 by Abel Deuring
new view +confirm-is-patch shown when a bugattachment is added or when the patch flag of an existing attachment is changed and when LP treats the patch flag setting by the user as possibly wrong.
31
                What is a patch?
32
             </a>
33
            </small>
34
          </p>
35
        </tal:is_not_patch>
36
      </div>
37
    </div>
38
  </div>
39
</body>
40
</html>