~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
<div
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  class="portlet" id="portlet-latest-faqs"
  tal:define="faqs view/latest_faqs"
  tal:condition="faqs">
  <h2>
    <span class="see-all"><a
      tal:replace="structure view/menu:answers/list_all/fmt:link" /></span>
    FAQs for <tal:name replace="context/displayname" />
  </h2>

  <form id="question-search-form" method="get" accept-charset="UTF-8"
    tal:attributes="action view/portlet_action">
    <p>
      <tal:searchbox replace="structure view/widgets/search_text" />
      <input tal:replace="structure view/search_action/render" />
    </p>
  </form>

  <ul tal:condition="faqs"
    tal:content="cache:public, 3 hour">
    <li tal:repeat="faq faqs">
      <a class="sprite question"
        tal:attributes="href faq/fmt:url"
        tal:content="faq/title">How do I do this?</a>
    </li>
  </ul>

  <ul class="horizontal">
    <li>
      <a tal:replace="structure view/menu:answers/create_faq/fmt:link" />
    </li>
  </ul>
</div>