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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="view/macro:page/main_side"
i18n:domain="launchpad"
>
<body>
<metal:side fill-slot="side">
<div tal:content="structure context/@@+ask-a-question-button" />
<div tal:replace="structure context/@@+global-actions" />
<div tal:replace="structure context/@@+portlet-answercontacts|nothing" />
<div tal:condition="context/distribution|nothing"
tal:replace="structure context/distribution/@@+portlet-answercontacts" />
</metal:side>
<metal:css fill-slot="head_epilogue">
<style type="text/css">
div.inlined-widget {
display: inline;
}
div.inlined-widget div {
display: inline;
}
</style>
</metal:css>
<div metal:fill-slot="main"
tal:define="questions view/searchResults">
<p tal:define="unspoken_languages view/unspoken_languages"
tal:condition="unspoken_languages">
<span tal:replace="context/displayname">Mozilla Firefox</span> has
unanswered questions in the following languages:
<span tal:replace="structure unspoken_languages">
<a href="ubuntu/+unspoken?language=es">1 in Spanish</a>
</span>. Can you help?
</p>
<div>
<form method="get" id="question-search-form" action=""
tal:attributes="action request/URL">
<tal:searchbox replace="structure view/widgets/search_text" />
<tal:sort replace="structure view/widgets/sort" />
<input tal:replace="structure view/search_action/render" />
<tal:language_control condition="view/show_language_control">
<input type="hidden" name="field.language" value="es"
tal:attributes="value view/language/code"
tal:condition="not:view/widgets/language/visible"/>
<div class="field"
tal:condition="view/widgets/language/visible"
tal:define="widget nocall:view/widgets/language|nothing">
<label tal:content="widget/label">Label</label>
(<a href="/+editmylanguages">Change your preferred languages</a>)
<tal:languages replace="structure widget" />
</div>
</tal:language_control>
<div class="field"
tal:define="widget nocall:view/widgets/status|nothing"
tal:condition="nocall: widget">
<div tal:define="error python:view.widget_errors.get('status')"
tal:attributes="class python:error and 'error' or None">
<label tal:content="widget/label">Label</label>
<tal:status tal:replace="structure widget">
<input type="text" style="width:100%"/>
</tal:status>
<div class="message"
tal:condition="error"
tal:content="structure error">
An error message.
</div>
</div>
</div>
</form>
</div>
<tal:no-results condition="not: questions/batch">
<p i18n:translate=""
tal:content="view/empty_listing_message">
No questions.
</p>
</tal:no-results>
<p id="found-matching-faqs"
tal:condition="view/matching_faqs_count">
You can also consult the list of
<a href="#" tal:attributes="href view/matching_faqs_url"
><tal:count replace="view/matching_faqs_count" /> FAQ(s)</a>
matching
“<tal:keywords replace="view/search_text"
>Keywords</tal:keywords>”.
</p>
<tal:block condition="questions/batch">
<table class="listing" id="question-listing">
<thead>
<tr>
<th colspan="3">Summary</th>
<th>Created</th>
<th>Submitter</th>
<th tal:condition="view/display_target_column">In</th>
<th tal:condition="view/display_sourcepackage_column"
>Source Package</th>
<th>Assignee</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tal:question repeat="question questions/batch">
<tal:description
define="global description question/description/fmt:obfuscate-email/fmt:shorten/300" />
<tr xml:lang="en" lang="en" dir="ltr"
tal:attributes="title description;
xml:lang question/language/dashedcode;
lang question/language/dashedcode;
dir question/language/abbreviated_text_dir">
<td class="icon right">
<img alt="Open" title="Open" src="/@@/question"
tal:attributes="alt question/status/title;
title question/status/title;" />
</td>
<td class="amount"
tal:content="question/id"
>42</td>
<td class="questionTITLE">
<a href="#"
tal:content="question/title"
tal:attributes="href question/fmt:url">
Firefox is too slow for my laptop
</a>
</td>
<td>
<span class="sortkey"
tal:content="question/datecreated/fmt:datetime" />
<span
tal:attributes="title question/datecreated/fmt:datetime"
tal:content="question/datecreated/fmt:approximatedate">
2006-07-17
</span>
</td>
<td><a tal:replace="structure question/owner/fmt:link">Foo Bar</a></td>
<td class="question-target"
tal:condition="view/display_target_column"
><a href="#"
tal:define="target question/target"
tal:attributes="href string:${target/fmt:url}/+questions"
tal:content="target/displayname">Firefox</a></td>
<td tal:condition="view/display_sourcepackage_column"
tal:content="structure python:view.formatSourcePackageName(question)"
>mozilla-firefox</td>
<td>
<a tal:condition="question/assignee"
tal:replace="structure question/assignee/fmt:link">Sample Person</a>
<tal:unassigned
condition="not: question/assignee">—</tal:unassigned></td>
<td class="questionstatus"
tal:content="question/status/title"
tal:attributes="class string:questionstatus${question/status/name}"
>Open</td>
</tr>
</tal:question>
</tbody>
</table>
<div class="results"
tal:content="structure questions/@@+navigation-links-lower"
/>
</tal:block>
</div>
</body>
</html>
|