Commit 8f46c641 authored by Matt Selsky's avatar Matt Selsky Committed by Dave Lawrence

Bug 365057 - messages.html.tmpl file bareword should be tagged in <code> or something

r=dkl,a=justdave
parent fc84c73e
...@@ -83,7 +83,7 @@ Canceled Because: [% PROCESS cancelactionmessage %] ...@@ -83,7 +83,7 @@ Canceled Because: [% PROCESS cancelactionmessage %]
#%] #%]
You are using [% terms.Bugzilla %]'s cancel-token function incorrectly. You You are using [% terms.Bugzilla %]'s cancel-token function incorrectly. You
passed in the string '[% cancelaction %]'. The correct use is to pass passed in the string '[% cancelaction %]'. The correct use is to pass
in a tag, and define that tag in the file cancel-token.txt.tmpl. in a tag, and define that tag in the file <kbd>cancel-token.txt.tmpl</kbd>.
If you are a [% terms.Bugzilla %] end-user seeing this message, please forward this If you are a [% terms.Bugzilla %] end-user seeing this message, please forward this
email to [% Param('maintainer') %]. email to [% Param('maintainer') %].
......
...@@ -14,7 +14,7 @@ my $template = B[% %]ugzilla->template; ...@@ -14,7 +14,7 @@ my $template = B[% %]ugzilla->template;
$template->process('[% name FILTER lower %]/some-template.html.tmpl') $template->process('[% name FILTER lower %]/some-template.html.tmpl')
or ThrowTemplateError($template->error()); or ThrowTemplateError($template->error());
That would be how to load a file called some-template.html.tmpl that That would be how to load a file called <kbd>some-template.html.tmpl</kbd> that
was in this directory. was in this directory.
Note that you have to be careful that the full path of your template Note that you have to be careful that the full path of your template
......
...@@ -921,7 +921,7 @@ ...@@ -921,7 +921,7 @@
[% message = BLOCK %] [% message = BLOCK %]
You are using [% terms.Bugzilla %]'s messaging functions incorrectly. You You are using [% terms.Bugzilla %]'s messaging functions incorrectly. You
passed in the string '[% message_tag %]'. The correct use is to pass passed in the string '[% message_tag %]'. The correct use is to pass
in a tag, and define that tag in the file messages.html.tmpl.<br> in a tag, and define that tag in the file <kbd>messages.html.tmpl</kbd>.<br>
<br> <br>
If you are a [% terms.Bugzilla %] end-user seeing this message, please If you are a [% terms.Bugzilla %] end-user seeing this message, please
save this page and send it to [% Param('maintainer') %]. save this page and send it to [% Param('maintainer') %].
......
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