Commit 81664398 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 54da2a3c
......@@ -83,7 +83,7 @@ Canceled Because: [% PROCESS cancelactionmessage %]
#%]
You are using Bugzilla's cancel-token function incorrectly. You
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
email to [% Param('maintainer') %].
......
......@@ -14,7 +14,7 @@ my $template = Bugzilla->template;
$template->process('[% name FILTER lower %]/some-template.html.tmpl')
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.
Note that you have to be careful that the full path of your template
......
......@@ -952,7 +952,7 @@
[% message = BLOCK %]
You are using Bugzilla's messaging functions incorrectly. You
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>
If you are a [% terms.Bugzilla %] end-user seeing this message, please
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