Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
d725139a
Commit
d725139a
authored
Apr 13, 2015
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1137307: Bug reports are not valid HTML5 pages
r=dkl a=glob
parent
2ca129b9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
59 deletions
+75
-59
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+54
-45
field-label.html.tmpl
template/en/default/bug/field-label.html.tmpl
+1
-0
field.html.tmpl
template/en/default/bug/field.html.tmpl
+2
-1
list.html.tmpl
template/en/default/flag/list.html.tmpl
+17
-12
field.html.tmpl
template/en/default/search/field.html.tmpl
+1
-1
No files found.
template/en/default/bug/edit.html.tmpl
View file @
d725139a
This diff is collapsed.
Click to expand it.
template/en/default/bug/field-label.html.tmpl
View file @
d725139a
...
...
@@ -8,6 +8,7 @@
[%# INTERFACE:
# field: a Bugzilla::Field object
# editable: if true, a label pointing to the editable field will be added.
# desc_url: An alternate link to help for the field.
# hidden: True if the field label should start hidden.
# rowspan: a "rowspan" value for the label's <th>.
...
...
template/en/default/bug/field.html.tmpl
View file @
d725139a
...
...
@@ -9,6 +9,7 @@
[%# INTERFACE:
# field: a Bugzilla::Field object
# value: The value of the field for this bug.
# field_hidden (optional): boolean; if true, the field is hidden by default.
# override_legal_values (optional): The list of legal values, for select fields.
# editable: Whether the field should be displayed as an editable
# <input> or as just the plain text of its value.
...
...
@@ -202,7 +203,7 @@
value="[% value FILTER html %]">
<div id="[% field.name FILTER html %]_autocomplete"></div>
</div>
<script type="text/javascript"
defer="defer"
>
<script type="text/javascript">
if (typeof YAHOO.bugzilla.field_array === "undefined")
YAHOO.bugzilla.field_array = [];
YAHOO.bugzilla.field_array["[% field.name FILTER js %]"] = [
...
...
template/en/default/flag/list.html.tmpl
View file @
d725139a
...
...
@@ -23,13 +23,12 @@
<table id="[% flag_table_id FILTER html %]">
[% UNLESS flag_no_header %]
<tr>
<th colspan="3">
Flags:
</th>
<th colspan="3">Flags:</th>
[% IF any_flags_requesteeble %]
<th>
Requestee:
</th>
<th>Requestee:</th>
[% END %]
[% IF edit_multiple_bugs %]
<th> </th>
[% END %]
</tr>
[% END %]
...
...
@@ -57,7 +56,10 @@
[% NEXT UNLESS type.flags && type.flags.size > 0 && type.is_multiplicable && type.is_active %]
[% IF !separator_displayed %]
<tbody class="bz_flag_type">
<tr><td colspan="3"><hr></td></tr>
[% sep_length = 3 + (any_flags_requesteeble ? 1 : 0) + (edit_multiple_bugs ? 1 : 0) %]
<tr>
<td colspan="[% sep_length FILTER html %]"><hr></td>
</tr>
</tbody>
[% separator_displayed = 1 %]
[% END %]
...
...
@@ -123,7 +125,7 @@
<option value="--do_not_change--">--do_not_change--</option>
[% END %]
[% IF !flag || (can_edit_flag && user.can_request_flag(type)) || flag.setter_id == user.id %]
<option value="X"></option>
<option value="X"
label="X"
></option>
[% END %]
[% IF type.is_active && can_edit_flag %]
[% IF (type.is_requestable && user.can_request_flag(type)) || (flag && flag.status == "?") %]
...
...
@@ -171,16 +173,19 @@
[% END %]
</td>
[% END %]
<td>
[% IF type.is_multiplicable && edit_multiple_bugs %]
[% IF edit_multiple_bugs %]
<td>
[% IF type.is_multiplicable %]
<input type="checkbox" name="flags_add-[% type.id %]"
id="flags_add-[% type.id %]" value="1">
<label for="flags_add-[% type.id %]"
title="If ticked, always create a new flag. Leaving it unchecked will update existing flag(s) and add a new flag if it does not exist">
title="If ticked, always create a new flag. Leaving it unchecked will
update existing flag(s) and add a new flag if it does not exist">
Always add
</label>
[% END %]
</td>
</td>
[% END %]
</tr>
</tbody>
[% END %]
template/en/default/search/field.html.tmpl
View file @
d725139a
...
...
@@ -42,7 +42,7 @@
value="[% value FILTER html %]" [% 'autofocus' IF focus %]>
<div id="[% field.name FILTER html %]_autocomplete"></div>
</div>
<script type="text/javascript"
defer="defer"
>
<script type="text/javascript">
if (typeof YAHOO.bugzilla.field_array === "undefined")
YAHOO.bugzilla.field_array = [];
YAHOO.bugzilla.field_array["[% field.name FILTER js %]"] = [
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment