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

📄 show-multiple.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
        }                $output .=  "\n      </td>\n    </tr>\n\n    <tr>\n      <td colspan=\"4\">\n        <b>URL:</b>&nbsp;";        #line 117 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['bug', 0, 'bug_file_loc', 0]) && ! $stash->get(['bug', 0, 'bug_file_loc', 0, 'match', [ '^(javascript|data)' ]])) {        $output .=  "\n          <a href=\"";        #line 113 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_file_loc', 0]);                        &$filter($output);        };                $output .=  "\">";        #line 115 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_file_loc', 0]);                        &$filter($output);        };                $output .=  "</a>";        }        else {        #line 117 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'bug_file_loc', 0]);                        &$filter($output);        };                }                $output .=  "\n    </tr>\n\n    <tr>\n      <td colspan=\"4\">\n        <b>Summary:</b>&nbsp;";        #line 122 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'short_desc', 0]);                        &$filter($output);        };                $output .=  "\n      </td>\n    </tr>\n";        #line 134 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get('use_keywords')) {        $output .=  "\n      <tr>\n        <td colspan=\"4\">\n          <b>Keywords: </b>&nbsp;";        #line 130 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'keywords', 0]);                        &$filter($output);        };                $output .=  "\n        </td>\n      </tr>";        }                $output .=  "\n";        #line 146 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'usestatuswhiteboard' ]])) {        $output .=  "\n      <tr>\n        <td colspan=\"4\">\n          <b>Status Whiteboard:</b>&nbsp;";        #line 142 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'status_whiteboard', 0]);                        &$filter($output);        };                $output .=  "\n        </td>\n      </tr>";        }                $output .=  "\n";        #line 180 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['UserInGroup', [ $stash->get(['Param', [ 'timetrackinggroup' ]]) ]])) {        $output .=  "\n      <tr>\n        <td colspan=\"4\">\n          <b>Orig. Est.:</b>&nbsp;";        #line 154 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'estimated_time', 0]) });        $output .=  "\n          &nbsp;\n          <b>Current Est.:</b>&nbsp;";        #line 158 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('formattimeunit', { 'time_unit' => ($stash->get(['bug', 0, 'remaining_time', 0]) + $stash->get(['bug', 0, 'actual_time', 0])) });        $output .=  "\n          &nbsp;\n          <b>Hours Worked:</b>&nbsp;";        #line 163 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'actual_time', 0]) });        $output .=  "&nbsp;\n          <b>Hours Left:</b>&nbsp;";        #line 166 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'remaining_time', 0]) });        $output .=  "\n          &nbsp;\n          <b>Percentage Complete:</b>&nbsp;";        #line 170 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('calculatepercentage', { 'act' => $stash->get(['bug', 0, 'actual_time', 0]), 'rem' => $stash->get(['bug', 0, 'remaining_time', 0]) });        $output .=  "&nbsp;\n          <b>Gain</b>&nbsp;";        #line 174 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'estimated_time', 0]) - ($stash->get(['bug', 0, 'actual_time', 0]) + $stash->get(['bug', 0, 'remaining_time', 0])) });        $output .=  "\n          &nbsp;\n        </td>\n      </tr>";        }                $output .=  "\n\n    <tr>\n      <td colspan=\"4\">\n        <b>Opened:</b>&nbsp;";        #line 186 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('time')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'creation_ts', 0]);                        &$filter($output);        };                $output .=  "\n      </td>\n    </tr>\n    <tr>\n      <td colspan=\"4\">\n        <b>Description:</b>\n      </td>\n    </tr>\n  </table>\n";        #line 197 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('bug/comments.html.tmpl', { 'comments' => $stash->get(['bug', 0, 'comments', 0]) });        $output .=  "\n\n  <hr>";            } };            if ($@) {                $error = $context->catch($@, \$output);                die $error unless $error->type eq 'return';            }                    return $output;        },        'cell' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $error;                        eval { BLOCK: {        $output .=  "\n  <td>\n    <b>";        #line 212 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['attr', 0, 'description', 0]);                        &$filter($output);        };                $output .=  ":</b>&nbsp;";        #line 214 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, $stash->get(['attr', 0, 'name', 0]), 0]);                        &$filter($output);        };                $output .=  "\n  </td>";            } };            if ($@) {                $error = $context->catch($@, \$output);                die $error unless $error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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