bugzillaにbugをコミットするときにデフォルトを追加(template)

1120 ワード

bugzillaサーバを構築した後、bugをコミットする際に、次のデフォルトフォーマットが望ましい場合が多いです.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

変更方法:
cd bugzilla/template/en/default/bug/create

vim create.html.tmpl

検索:
  
    Description:
    

      [% 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 bug/comment.html.tmpl
         minrows        = 10
         maxrows        = 25
         cols           = constants.COMMENT_COLS
         defaultcontent = defaultcontent
       %]
      

「defaultcontent=defaultcontent」の後ろのdefaultcontentを必要な内容に変更します.内容は引用符で囲まれることに注意してください.