create.html.tmpl テンプレートを編集して、enter_bug.cgi ページの「説明」ボックスのデフォルト テキストを変更しましたが、post_bug.cgi ページを編集できるテンプレートが見つかりません。これをどこで見つけることができるか知っている人はいますか?
Bugzilla バージョン 3.4.2 を使用しています
create.html.tmpl テンプレートを編集して、enter_bug.cgi ページの「説明」ボックスのデフォルト テキストを変更しましたが、post_bug.cgi ページを編集できるテンプレートが見つかりません。これをどこで見つけることができるか知っている人はいますか?
Bugzilla バージョン 3.4.2 を使用しています
Look for the INCLUDE
of global/textarea.html.tmpl
at line 250 of template/en/default/bug/edit.html.tmpl
. You should be able to add a defaultcontent
parameter to get the results you want.
You might also want to add some content in template/en/default/list/edit-multiple.html.tmpl
for when someone is changing multiple bugs.
To find stuff in the Mozilla code, it's usually best to examine the HTML for the page you're looking at to find some text that is unique to the context, then go look for that. In this case, searching for label for="comment"
would have led you to the correct places.