зеркало из https://github.com/mozilla/gecko-dev.git
Patch for bug 256567: Harmonize descriptions of classifications and products in terms of 'FILTER html'; patch by Marc Schumann <wurblzap@gmail.com>; r=justdave, kiko, a=justdave.
This commit is contained in:
Родитель
393367d4e7
Коммит
9e25419df2
|
@ -36,7 +36,7 @@
|
|||
<td valign="top">Description:</td>
|
||||
<td valign="top">
|
||||
[% IF description %]
|
||||
[% description FILTER html %]
|
||||
[% description %]
|
||||
[% ELSE %]
|
||||
<font color="red">description missing</font>
|
||||
[% END %]
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th align="right">Description:</th>
|
||||
<td><textarea rows=4 cols=64 name="description">[% description FILTER html %]</textarea></TD>
|
||||
<td><textarea rows=4 cols=64 name="description">[% description %]</textarea></TD>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<th align="right"><a href="editproducts.cgi?classification=[% classification FILTER html %]">Edit products</a></th>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<td valign="top">Description:</td>
|
||||
<td valign="top" colspan=3>
|
||||
[% IF description %]
|
||||
[% description FILTER html %]
|
||||
[% description %]
|
||||
[% ELSE %]
|
||||
<font color="red">description missing</font>
|
||||
[% END %]
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<td valign="top"><a href="editclassifications.cgi?action=edit&classification=[% cl.classification FILTER html %]"><b>[% cl.classification FILTER html %]</b></a></td>
|
||||
<td valign="top">
|
||||
[% IF cl.description %]
|
||||
[% cl.description FILTER html %]
|
||||
[% cl.description %]
|
||||
[% ELSE %]
|
||||
<font color="red">none</font>
|
||||
[% END %]
|
||||
|
|
|
@ -252,6 +252,10 @@
|
|||
'VERSION',
|
||||
],
|
||||
|
||||
'global/choose-classification.html.tmpl' => [
|
||||
'classdesc.$p',
|
||||
],
|
||||
|
||||
'global/choose-product.html.tmpl' => [
|
||||
'target',
|
||||
'proddesc.$p',
|
||||
|
@ -495,6 +499,22 @@
|
|||
'c.content'
|
||||
],
|
||||
|
||||
'admin/classifications/del.html.tmpl' => [
|
||||
'description',
|
||||
],
|
||||
|
||||
'admin/classifications/edit.html.tmpl' => [
|
||||
'description',
|
||||
],
|
||||
|
||||
'admin/classifications/reclassify.html.tmpl' => [
|
||||
'description',
|
||||
],
|
||||
|
||||
'admin/classifications/select.html.tmpl' => [
|
||||
'cl.description',
|
||||
],
|
||||
|
||||
'admin/products/groupcontrol/confirm-edit.html.tmpl' => [
|
||||
'group.count',
|
||||
],
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</th>
|
||||
|
||||
[% IF classdesc.$p %]
|
||||
<td valign="top"> [% classdesc.$p FILTER html %]</td>
|
||||
<td valign="top"> [% classdesc.$p %]</td>
|
||||
[% END %]
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче