Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Default text for the description field of a new bug

40 views
Skip to first unread message

Euler Sascha

unread,
Jan 16, 2008, 9:16:08 AM1/16/08
to support-...@lists.mozilla.org
Hi,

could you give me a hint were I should put a default text for the
description field of a new bug? I've found nothing in the documentation
about that. I tried to put it into the textarea template, but then I
have the text not only for new bugs but also when you comment to
existing ones.

Thanks for your help
Sascha

Marc Schumann

unread,
Jan 16, 2008, 9:59:29 AM1/16/08
to support-...@lists.mozilla.org
Sascha,

2008/1/16, Euler Sascha <Sascha....@teleca.com>:

in template/en/default/bug/create/create.html.tmpl, find

<th>Description:</th>
<td colspan="3">
[% defaultcontent = BLOCK %]
[% IF cloned_bug_id %]
+++ This [% terms.bug %] was initially created as a clone of [%
terms.Bug %] #[% cloned_bug_id %] +++
[% END %]
[%-# We are within a BLOCK. The comment will be correctly HTML-escaped
# by global/textarea.html.tmpl. So we must not escape the
comment here. %]
[% comment FILTER none %]
[%- END %]
[% INCLUDE global/textarea.html.tmpl
name = 'comment'
id = 'comment'
minrows = 10
maxrows = 25
cols = constants.COMMENT_COLS
defaultcontent = defaultcontent
%]
<br>
</td>

(which may look more or less different for you, depending on your
Bugzilla's version). There, you can customize what default content you
wish the textbox to have.

Kind regards
Marc

0 new messages