summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorFateh Sandhu <fatehsandhu@gmail.com>2018-01-02 01:37:23 +0100
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-01-02 01:37:23 +0100
commit37bac7ea1661464624b21f24940cbad625ef056b (patch)
tree7d1ac0308fdc62ddab5a7a948bc488472593aaeb /template/en/default/bug
parente83fa315f72b97c5504e85236623df1f14dddc94 (diff)
downloadbugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.gz
bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.xz
Bug 1426507 - Upgrade BMO to HTML5
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/comments.html.tmpl8
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl4
-rw-r--r--template/en/default/bug/create/create.html.tmpl8
-rw-r--r--template/en/default/bug/edit.html.tmpl22
-rw-r--r--template/en/default/bug/field.html.tmpl12
-rw-r--r--template/en/default/bug/knob.html.tmpl2
-rw-r--r--template/en/default/bug/new_bug.html.tmpl2
-rw-r--r--template/en/default/bug/process/updates-disabled.html.tmpl2
-rw-r--r--template/en/default/bug/summarize-time.html.tmpl2
-rw-r--r--template/en/default/bug/tagging.html.tmpl2
10 files changed, 32 insertions, 32 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 9c8b56217..2346983b2 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -22,10 +22,10 @@
[% PROCESS bug/time.html.tmpl %]
-<script src="[% 'js/comments.js' FILTER version %]" type="text/javascript">
+<script src="[% 'js/comments.js' FILTER version %]">
</script>
-<script type="text/javascript">
+<script>
<!--
/* Adds the reply text to the 'comment' textarea */
function replyToComment(id, real_id, name) {
@@ -191,13 +191,13 @@
[% IF comment.collapsed %]
</span>
[% END %]
- <script type="text/javascript">
+ <script>
addCollapseLink([% comment.count %], [% comment.collapsed FILTER js %], 'Toggle comment display');
</script>
</span>
[% ELSIF comment.collapsed %]
<span class="bz_comment_actions">
- <script type="text/javascript">
+ <script>
addCollapseLink([% comment.count %], [% comment.collapsed FILTER js %], 'Toggle comment display');
</script>
</span>
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index ee40890cb..9420f1330 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -41,7 +41,7 @@
[% tablecolour = "#FFFFCC" %]
[%# This script displays the descriptions for selected components. %]
-<script type="text/javascript">
+<script>
var descriptions = [
[% FOREACH c = product.components %]
'[% c.description FILTER js %]',
@@ -181,7 +181,7 @@ function PutDescription() {
<td valign="top" width="100%">
<div id="description" style="color: green; margin-left: 10px;
height: 5em; overflow: auto;">
- <script type="text/javascript">
+ <script>
if ((document.getElementById) && (document.body.innerHTML)) {
document.write("\
Select a component to see its description here.");
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index d969ded64..567c58d58 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -40,7 +40,7 @@
onload = "init();"
%]
-<script type="text/javascript">
+<script>
<!--
function init() {
@@ -217,7 +217,7 @@ TUI_hide_default('attachment_text_field');
<input type="button" id="expert_fields_controller"
value="Hide Advanced Fields" onClick="toggleAdvancedFields()">
[%# Show the link if the browser supports JS %]
- <script type="text/javascript">
+ <script>
YAHOO.util.Dom.removeClass('expert_fields_controller',
'bz_default_hidden');
</script>
@@ -276,7 +276,7 @@ TUI_hide_default('attachment_text_field');
[%- END %]
</select>
- <script type="text/javascript">
+ <script>
<!--
[%+ INCLUDE "bug/field-events.js.tmpl"
field = bug_fields.component, product = product %]
@@ -492,7 +492,7 @@ TUI_hide_default('attachment_text_field');
<th>Possible<br>Duplicates:</th>
<td colspan="3">
<div id="possible_duplicates"></div>
- <script type="text/javascript">
+ <script>
var dt_columns = [
{ key: "id", label: "[% field_descs.bug_id FILTER js %]",
formatter: YAHOO.bugzilla.dupTable.formatBugLink },
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 164602ff2..22e1ab05a 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -49,7 +49,7 @@
</div>
[% END %]
[% IF user.id %]
- <script type="text/javascript">
+ <script>
YAHOO.bugzilla.commentTagging.init([% user.can_tag_comments ? 'true' : 'false' %]);
YAHOO.bugzilla.commentTagging.min_len = [% constants.MIN_COMMENT_TAG_LENGTH FILTER js %];
YAHOO.bugzilla.commentTagging.max_len = [% constants.MAX_COMMENT_TAG_LENGTH FILTER js %];
@@ -64,7 +64,7 @@
[% END %]
[% END %]
-<script type="text/javascript">
+<script>
<!--
[% IF user.is_timetracker %]
var fRemainingTime = [% bug.remaining_time %]; // holds the original value
@@ -300,7 +300,7 @@
</table>
</div>
</div>
- <script type="text/javascript">
+ <script>
hideAliasAndSummary('[% bug.short_desc FILTER js %]', '[% bug.alias FILTER js %]');
</script>
[% END %]
@@ -505,7 +505,7 @@
<input type="checkbox" id="set_default_assignee" name="set_default_assignee" value="1">
<label id="set_default_assignee_label" for="set_default_assignee">Reset Assignee to default</label>
</div>
- <script type="text/javascript">
+ <script>
hideEditableField('bz_assignee_edit_container',
'bz_assignee_input',
'bz_assignee_edit_action',
@@ -555,7 +555,7 @@
<input type="checkbox" id="set_default_qa_contact" name="set_default_qa_contact" value="1">
<label for="set_default_qa_contact" id="set_default_qa_contact_label">Reset QA Contact to default</label>
</div>
- <script type="text/javascript">
+ <script>
hideEditableField('bz_qa_contact_edit_container',
'bz_qa_contact_input',
'bz_qa_contact_edit_action',
@@ -591,7 +591,7 @@
[%# BMO - hook for adding mentors %]
[% Hook.process("after_people", "bug/edit.html.tmpl") %]
- <script type="text/javascript">
+ <script>
assignToDefaultOnChange(['product', 'component'],
'[% bug.component_obj.default_assignee.login FILTER js %]',
'[% bug.component_obj.default_qa_contact.login FILTER js %]');
@@ -638,7 +638,7 @@
[% END %]
</span>
[% IF bug.check_can_change_field("bug_file_loc", 0, 1) %]
- <script type="text/javascript">
+ <script>
hideEditableField('bz_url_edit_container',
'bz_url_input_area',
'bz_url_edit_action',
@@ -911,7 +911,7 @@
[% END %]
</div>
[% IF user.id || bug.cc.size %]
- <script type="text/javascript">
+ <script>
hideEditableField( 'cc_edit_area_showhide_container',
'cc_edit_area',
'cc_edit_area_showhide',
@@ -998,7 +998,7 @@
[% IF !bug_flags_set %]<em>None yet set</em>[% END %]
(<a href="#" id="bz_flags_more_action">[% IF !bug_flags_set %]set[% ELSE %]more[% END %] flags</a>)
</span>
- <script type="text/javascript">
+ <script>
YAHOO.util.Dom.removeClass('bz_flags_more_container', 'bz_default_hidden');
var table = YAHOO.util.Dom.get("flags");
var rows = YAHOO.util.Dom.getElementsByClassName('bz_flag_type', 'tbody', table);
@@ -1085,7 +1085,7 @@
class="edit_me bz_default_hidden">
(<a href="#" id="[% field.name FILTER html %]_edit_action">edit</a>)
</span>
- <script type="text/javascript">
+ <script>
hideEditableField('[% field.name FILTER js %]_edit_container',
'[% field.name FILTER js %]_input_area',
'[% field.name FILTER js %]_edit_action',
@@ -1248,7 +1248,7 @@
[% BLOCK summon_comment_box %]
<div id="comment_top_hat">
- <script type="text/javascript">
+ <script>
function summonCommentBox() {
var commentbox = document.getElementById('add_comment');
document.getElementById('comment_top_hat').appendChild(commentbox);
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 8667687b2..b9bee6de3 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -74,7 +74,7 @@
<div id="con_calendar_[% field.name FILTER html %]"></div>
- <script type="text/javascript">
+ <script>
createCalendar('[% field.name FILTER js %]')
</script>
[% CASE constants.FIELD_TYPE_BUG_ID %]
@@ -91,7 +91,7 @@
<span id="[% field.name FILTER html %]_edit_container" class="edit_me bz_default_hidden">
(<a href="#" id="[% field.name FILTER html %]_edit_action">edit</a>)
</span>
- <script type="text/javascript">
+ <script>
hideEditableField('[% field.name FILTER js %]_edit_container',
'[% field.name FILTER js %]_input_area',
'[% field.name FILTER js %]_edit_action',
@@ -175,7 +175,7 @@
<input type="hidden" name="defined_[% field.name FILTER html %]">
[% END %]
- <script type="text/javascript">
+ <script>
<!--
initHidingOptionsForIE('[% field.name FILTER js %]');
[%+ INCLUDE "bug/field-events.js.tmpl"
@@ -197,7 +197,7 @@
id = field.name name = field.name minrows = 4 maxrows = 8
cols = 60 defaultcontent = value mandatory = field.is_mandatory %]
</div>
- <script type="text/javascript">
+ <script>
hideEditableField('[% field.name FILTER js %]_edit_container',
'[% field.name FILTER js %]_input',
'[% field.name FILTER js %]_edit_action',
@@ -230,7 +230,7 @@
[% IF !bug.id %]value="[% value FILTER html %]"[% END %]>
</div>
[% IF bug.id %]
- <script type="text/javascript">
+ <script>
setupEditLink('[% field.name FILTER js %]');
</script>
[% END %]
@@ -241,7 +241,7 @@
name="[% field.name FILTER html %]"
data-values="[% field.name FILTER html %]"
value="[% value FILTER html %]">
- <script type="text/javascript">
+ <script>
if (typeof BUGZILLA.autocomplete_values === 'undefined')
BUGZILLA.autocomplete_values = [];
BUGZILLA.autocomplete_values['[% field.name FILTER js %]'] = [
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl
index ac14e6dc0..a0a5dc647 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -70,7 +70,7 @@
[% END %]
</div>
-<script type="text/javascript">
+<script>
var close_status_array = [
[% FOREACH status = bug.choices.bug_status %]
[% NEXT IF status.is_open %]
diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl
index f508cba31..ef5e361c0 100644
--- a/template/en/default/bug/new_bug.html.tmpl
+++ b/template/en/default/bug/new_bug.html.tmpl
@@ -58,7 +58,7 @@
[% END %]
[% WRAPPER bug_modal/module.html.tmpl title = "Attach a File" collapsed = 1 %]
<div class="file-container">
- <input type="file" style="display: inline-block;" id="data" name="data" size="50" >
+ <input type="file" style="display: inline-block;" id="data" name="data" size="50">
<button id="reset" style="display: none;">Reset</button>
</div>
<label for="description" style="display: inline-block;">Description:</label>
diff --git a/template/en/default/bug/process/updates-disabled.html.tmpl b/template/en/default/bug/process/updates-disabled.html.tmpl
index 5ea84d476..b6c95fdf2 100644
--- a/template/en/default/bug/process/updates-disabled.html.tmpl
+++ b/template/en/default/bug/process/updates-disabled.html.tmpl
@@ -23,7 +23,7 @@
<html>
<head>
<title>[% terms.Bugzilla %] - [% terms.Bug %] Updates Temporarily Suspended</title>
-<style type="text/css">
+<style>
body {
margin: 2em;
background-color: #455372;
diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl
index 65ecc3e72..50c777063 100644
--- a/template/en/default/bug/summarize-time.html.tmpl
+++ b/template/en/default/bug/summarize-time.html.tmpl
@@ -341,7 +341,7 @@
</tr></table>
</form>
-<script type="text/javascript">
+<script>
<!--
createCalendar('start_date');
createCalendar('end_date');
diff --git a/template/en/default/bug/tagging.html.tmpl b/template/en/default/bug/tagging.html.tmpl
index 88c113051..6d669dd5d 100644
--- a/template/en/default/bug/tagging.html.tmpl
+++ b/template/en/default/bug/tagging.html.tmpl
@@ -20,7 +20,7 @@
<input type="hidden" name="list_of_bugs" value="1">
<input type="hidden" name="bug_ids" value="[% bug.id FILTER none %]">
<input type="hidden" name="token" value="[% issue_hash_token(['savedsearch']) FILTER html %]">
- <select id="lob_action" name="action" >
+ <select id="lob_action" name="action">
<option value="add">Add</option>
[% IF user.tags.size %]
<option value="remove">Remove</option>