⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show-multiple.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
                $output .=  $stash->get(['bug', 0, $stash->get('name'), 0]);                        &$_tt_filter($output);        };                $output .=  "</td>";        }        else {        $output .=  "\n      <td>&nbsp;</td>\n      <td>&nbsp;</td>";        }                }                    } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'bug_display' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <h1>";        #line 55 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'Bug', 0]);        $output .=  " \n    <a href=\"show_bug.cgi?id=";        #line 56 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_id', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 56 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_id', 0]);                        &$_tt_filter($output);        };                $output .=  "</a>";        #line 59 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'usebugaliases' ]]) && $stash->get(['bug', 0, 'alias', 0]) && ! $stash->get(['bug', 0, 'error', 0])) {        $output .=  "\n      (";        #line 58 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'alias', 0]);                        &$_tt_filter($output);        };                $output .=  ")";        }                $output .=  "\n  </h1>\n\n  <table class=\"bugfields\">";        #line 270 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['bug', 0, 'error', 0])) {        $output .=  "\n    <tr>\n      <td class=\"error\">";        #line 75 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['bug', 0, 'error', 0]) eq 'InvalidBugId') {        $output .=  "\n          '";        #line 67 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_id', 0]);                        &$_tt_filter($output);        };                $output .=  "' is not a valid ";        #line 67 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  " number";        #line 68 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'usebugaliases' ]])) {        $output .=  " nor a known ";        #line 68 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  " alias";        }                $output .=  ".";        }        elsif ($stash->get(['bug', 0, 'error', 0]) eq 'NotPermitted') {        $output .=  "\n          You are not allowed to view this ";        #line 70 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  ".";        }        elsif ($stash->get(['bug', 0, 'error', 0]) eq 'NotFound') {        $output .=  "\n          This ";        #line 72 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  " cannot be found.";        }        else {        $output .=  "\n          ";        #line 74 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'error', 0]);                        &$_tt_filter($output);        };                }                $output .=  "\n      </td>\n    </tr>";        }        else {        $output .=  "\n    ";        #line 81 "template\en\default\bug\show-multiple.html.tmpl"        $stash->set('rightcells', [ 'reporter', 'assigned_to' ]);                #line 84 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'useqacontact' ]])) {        #line 83 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['rightcells', 0, 'push', [ 'qa_contact' ]]);        }                #line 85 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['rightcells', 0, 'push', [ '' ]]);        #line 88 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['bug', 0, 'cc', 0])) {        #line 87 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['rightcells', 0, 'push', [ 'cc' ]]);        }                #line 91 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['bug', 0, 'keywords', 0])) {        #line 90 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['rightcells', 0, 'push', [ 'keywords' ]]);        }                $output .=  "\n\n    ";        #line 99 "template\en\default\bug\show-multiple.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['bug', 0, 'flag_types', 0]);                        unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {                $_tt_list = Template::Config->iterator($_tt_list)                    || die $Template::Config::ERROR, "\n";             }                    ($_tt_value, $_tt_error) = $_tt_list->get_first();            eval { $_tt_oldloop = $stash->get('loop') };            $stash->set('loop', $_tt_list);            eval {        LOOP:   while (! $_tt_error) {                    $stash->{'type'} = $_tt_value;        #line 98 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['type', 0, 'flags', 0, 'size', 0])) {        #line 96 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['rightcells', 0, 'push', [ 'flags' ]]);        #line 97 "template\en\default\bug\show-multiple.html.tmpl"        last LOOP;        }        ;                    ($_tt_value, $_tt_error) = $_tt_list->get_next();                }            };            $stash->set('loop', $_tt_oldloop);            die $@ if $@;            $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;            die $_tt_error if $_tt_error;        };                $output .=  "\n";        #line 101 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('row', { 'cell' => 'short_desc', 'fullrow' => 1 });        $output .=  "\n\n    <tr>\n      <th>";        #line 104 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, 'product', 0]);                        &$_tt_filter($output);        };                $output .=  ":</th>\n      <td>";        #line 108 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'useclassification' ]]) && $stash->get(['bug', 0, 'classification_id', 0]) ne 1) {        $output .=  "\n          [";        #line 107 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'classification', 0]);                        &$_tt_filter($output);        };                $output .=  "]&nbsp;";        }                #line 109 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'product', 0]);                        &$_tt_filter($output);        };                $output .=  "\n      </td>\n";        #line 112 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('rightcell');        $output .=  "\n    </tr>\n";        #line 115 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('row', { 'cell' => 'component' });        $output .=  "\n\n    <tr>\n      <th>";        #line 118 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, 'bug_status', 0]);                        &$_tt_filter($output);        };                $output .=  ":</th>\n      <td>";        #line 120 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['status_descs', 0, $stash->get(['bug', 0, 'bug_status', 0]), 0]);                        &$_tt_filter($output);        };                $output .=  "\n        ";        #line 121 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['get_resolution', [ $stash->get(['bug', 0, 'resolution', 0]) ]]);                        &$_tt_filter($output);        };                $output .=  "\n      </td>\n";        #line 124 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('rightcell');        $output .=  "\n    </tr>\n\n    <tr>\n      <th>";        #line 128 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, 'bug_severity', 0]);                        &$_tt_filter($output);        };                $output .=  ":</th>\n      <td class=\"bz_";        #line 129 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('css_class_quote')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_severity', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 130 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_severity', 0]);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -