~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  metal:use-macro="view/macro:page/main_only"
>
<body>

<div metal:fill-slot="main">
  <metal:form use-macro="context/@@launchpad_form/form">

    <metal:extra_info fill-slot="extra_info">
      <div>
      <tal:similar-faqs condition="view/similar_faqs">
        <p>These FAQs seems similar to your question. Take
          a look at them, you may find your answer in one these.
        </p>

        <ul id="similar-faqs" class="faq">
          <li tal:repeat="faq view/similar_faqs"
              tal:attributes="title faq/content/fmt:shorten/320"
              ><a href="#"
                  tal:attributes="href faq/fmt:url"
                  tal:content="faq/title">FAQ Title</a>
          </li>
        </ul>
      </tal:similar-faqs>
      <tal:similar-questions condition="view/similar_questions">
        <p>These other questions seem similar to yours. You may want to take a look at them.</p>

        <ul id="similar-questions">
          <li tal:repeat="question view/similar_questions"
              tal:replace="structure question/@@+listing-detailed" />
        </ul>
      </tal:similar-questions>

      <tal:similar-items condition="view/has_similar_items">
        <p>If you did not find your problem in these
          existing FAQs or questions, enter the details of your problem
          to alert the
          <tal:displayName content="context/displayname"
                           >Project</tal:displayName>
          support community, so they can help you resolve the issue.
        </p>
      </tal:similar-items>

      <tal:no-similar-items condition="not: view/has_similar_items">
        <p>There are no existing FAQs or questions similar to
          the summary you entered.
        </p>
        <p>Enter the details of your problem to alert the
          <tal:displayName content="context/displayname"
                           >Project</tal:displayName>
          support community, so they can help you resolve the issue.
        </p>
      </tal:no-similar-items>

      <tal:comment replace="nothing">
        This link should appear in the appropriate widget description,
        but cannot because of bug #72730.
      </tal:comment>
      <p><a href="/+editmylanguages">Change your
        preferred languages</a> to modify the list of languages available
        for writing the question.
      </p>

      <metal:unsupported_languages_warning
         use-macro="view/unsupported_languages_warning" />
      </div>
    </metal:extra_info>

    <div class="actions" metal:fill-slot="buttons">
      <input tal:replace="structure view/add_action/render" />
      or <a tal:attributes="href view/cancel_url">Cancel</a>
    </div>

  </metal:form>
</div>

</body>
</html>