~launchpad-pqm/launchpad/devel

5132.1.1 by Curtis Hovey
Added namespaces and fixes markup to q.* templates.
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"
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
5
  metal:use-macro="view/macro:page/main_only">
3691.398.9 by Francis J. Lacoste
Merge RF, resolving 5 conflicts.
6
  <body>
7
    <div metal:fill-slot="main">
3913.1.15 by Matthew Paul Thomas
Finishes adapting the application front pages.
8
11666.5.7 by Paul Hummer
Reverted yui- to yui3-
9
      <div class="yui-g">
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
10
        <p id="application-summary">
11
          Launchpad Answers helps you build a
12
          community support network and knowledge base for
13
          your project. Encourage new users to ask questions
14
          rather than file bugs! (<a href="https://help.launchpad.net/Answers">Read our guide</a>)
15
        </p>
9553.1.5 by Paul Hummer
Fixed the failures from the tests
16
17
        <ul class="rollover buttons">
18
          <li>
19
            <a href="/+tour/community-support"
20
               tal:attributes="href string:${rooturl}+tour/community-support">
21
              <img
22
                alt="Take a tour"
23
                src="/+icing/but-lrg-takeatour.gif"
24
              />
25
            </a>
26
          </li>
27
        </ul>
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
28
      </div>
29
11666.5.7 by Paul Hummer
Reverted yui- to yui3-
30
      <div class="yui-g">
13119.2.4 by Curtis Hovey
Added a test to verify that the search all question form is rendered.
31
        <form id="search-all-questions" class="central" action="" method="get"
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
32
              tal:attributes="action request/URL">
33
          <table>
34
            <tbody>
35
              <tr>
36
                <td style="text-align: right;">
37
                  <input
38
                    id="text"
39
                    type="text"
40
                    name="field.search_text"
41
                    size="50"
42
                  />
43
                </td>
44
                <td>
45
                  <input
46
                    tal:replace="structure view/search_action/render"
47
                    type="submit"
9570.9.6 by Gavin Panella
Return the case of buttons to headline case, as specified in https://dev.launchpad.net/UserInterfaceWording.
48
                    value="Find Answers"
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
49
                  />
50
                </td>
51
              </tr>
13119.2.2 by Curtis Hovey
Just call view/widgets/scope to render the whole widget.
52
            <tr>
53
              <td colspan="2"
54
                tal:attributes="class view/scope_css_class">
55
                <input tal:replace="structure view/widgets/scope" />
56
                <div class="message"
57
                  tal:condition="view/widgets/scope/error"
58
                  tal:content="view/widgets/scope/error">
59
                  Error message
60
                </div>
13119.2.3 by Curtis Hovey
Focus the search field.
61
                <script type="text/javascript"
62
                  tal:define="script view/focusedElementScript"
63
                  tal:condition="script"
64
                  tal:content="structure script" ></script>
13119.2.13 by Curtis Hovey
Restore hidden field so that users are not misinformed that the are missing info.
65
                <tal:sort
66
                    replace="structure view/widgets/sort/hidden" />
67
                <tal:status
68
                  replace="structure view/widgets/status/hidden" />
13119.2.2 by Curtis Hovey
Just call view/widgets/scope to render the whole widget.
69
              </td>
70
            </tr>
9553.1.3 by Paul Hummer
Started of shifting questions-index over to 3.0
71
            </tbody>
72
          </table>
73
        </form>
74
      </div>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
75
76
      <div class="columns">
77
        <div id="most-active-projects" class="three column left">
7849.16.24 by Sidnei da Silva
- Got rid of i18n:translate in the majority of templates. They are not in use according to Kiko.
78
          <h2>Most active projects</h2>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
79
80
          <ul tal:define="projects view/most_active_projects"
81
              tal:condition="projects"
82
              style="list-style: none;">
83
            <li tal:repeat="project projects">
9097.2.8 by Curtis Hovey
Fixed some tests to verify the correct behaviour for links. Restored the rule that
84
              <a tal:replace="structure project/fmt:link:answers"/>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
85
            </li>
86
          </ul>
87
        </div>
88
89
        <div id="latest-questions-asked" class="three column middle">
7849.16.24 by Sidnei da Silva
- Got rid of i18n:translate in the majority of templates. They are not in use according to Kiko.
90
          <h2>Latest questions asked</h2>
12384.1.5 by Curtis Hovey
Removed inapproriate use of discreet.
91
          <ul>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
92
            <tal:question
93
              repeat="question view/latest_questions_asked"
94
              content="structure question/@@+listing-detailed"
95
            />
12384.1.5 by Curtis Hovey
Removed inapproriate use of discreet.
96
          </ul>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
97
        </div>
9553.1.4 by Paul Hummer
Minor whitespace cleanup
98
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
99
        <div id="latest-questions-solved" class="three column right">
7849.16.24 by Sidnei da Silva
- Got rid of i18n:translate in the majority of templates. They are not in use according to Kiko.
100
          <h2>Latest questions solved</h2>
12384.1.5 by Curtis Hovey
Removed inapproriate use of discreet.
101
          <ul>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
102
            <tal:question
103
              repeat="question view/latest_questions_solved"
104
              content="structure question/@@+listing-detailed"
105
            />
12384.1.5 by Curtis Hovey
Removed inapproriate use of discreet.
106
          </ul>
4354.1.3 by Francis J. Lacoste
Display Active projects column on Answers front page.
107
        </div>
108
      </div>
9097.2.8 by Curtis Hovey
Fixed some tests to verify the correct behaviour for links. Restored the rule that
109
110
      <div id="application-footer">
111
        <div>
112
          <strong
113
            tal:content="view/answered_question_count"
114
          >52</strong>
115
          questions answered and
116
          <strong
117
            tal:content="view/solved_question_count"
118
          >52</strong>
119
          questions solved out of
120
        </div>
121
        <div>
122
          <strong
123
            tal:content="view/question_count"
124
          >318</strong>
125
          questions asked across
126
          <strong
127
            tal:content="view/projects_with_questions_count"
128
          >28</strong>
129
          projects
130
        </div>
131
      </div>
3913.1.15 by Matthew Paul Thomas
Finishes adapting the application front pages.
132
3691.398.9 by Francis J. Lacoste
Merge RF, resolving 5 conflicts.
133
    </div><!--main-->
3691.240.6 by Francis J. Lacoste
Merge RF.
134
2537 by Canonical.com Patch Queue Manager
[r=BjornT] support tracker cleanup; [trivial] fix bug 1389
135
  </body>
2396 by Canonical.com Patch Queue Manager
[r=spiv] launchpad support tracker
136
</html>