Commit 9c13acab authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 595380: Add a ?mtime string to all of the manually-inserted

<script src> and <link href> tags in Bugzilla r=glob, a=mkanat
parent f64efa79
......@@ -795,7 +795,7 @@ sub create {
email => \&Bugzilla::Util::email_filter,
mtime_url => \&mtime_filter,
mtime => \&mtime_filter,
# iCalendar contentline filter
ics => [ sub {
......
......@@ -57,8 +57,10 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
[% ELSE %]
<html>
<head>
<link href="skins/standard/attachment.css" rel="stylesheet" type="text/css">
<script src="js/attachment.js" type="text/javascript"></script>
<link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
rel="stylesheet" type="text/css">
<script src="[% 'js/attachment.js' FILTER mtime %]"
type="text/javascript"></script>
</head>
<body onload="[% onload FILTER html %]">
[% END %]
......
......@@ -22,7 +22,7 @@
[% PROCESS bug/time.html.tmpl %]
<script src="js/comments.js" type="text/javascript">
<script src="[% 'js/comments.js' FILTER mtime %]" type="text/javascript">
</script>
[% DEFAULT start_at = 0 mode = "show" %]
......
......@@ -30,7 +30,7 @@
[% DEFAULT flag_table_id = "flags" %]
<script type="text/javascript" src="js/flag.js"></script>
<script src="[% 'js/flag.js' FILTER mtime %]" type="text/javascript"></script>
<table id="[% flag_table_id FILTER html %]">
[% UNLESS flag_no_header %]
......
......@@ -104,7 +104,7 @@
[%# This allows people to switch back to the "Classic" skin if they
# are in another skin.
#%]
<link href="[% 'skins/standard/global.css' FILTER mtime_url FILTER html %]"
<link href="[% 'skins/standard/global.css' FILTER mtime FILTER html %]"
rel="alternate stylesheet"
title="[% setting_descs.standard FILTER html %]">
[% FOREACH style_url = css_sets.standard %]
......@@ -327,5 +327,5 @@
[% END %]
[% BLOCK format_js_link %]
<script type="text/javascript" src="[% javascript_url FILTER mtime_url FILTER html %]"></script>
<script type="text/javascript" src="[% javascript_url FILTER mtime FILTER html %]"></script>
[% END %]
......@@ -39,7 +39,8 @@
<head>
<title>[% title FILTER html %]</title>
<base href="[% urlbase FILTER html %]">
<link href="skins/standard/buglist.css" rel="stylesheet" type="text/css">
<link href="[% 'skins/standard/buglist.css' FILTER mtime %]"
rel="stylesheet" type="text/css">
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment