📄 show-multiple.html.tmpl
字号:
} $output .= "\n </td>\n </tr>\n\n <tr>\n <td colspan=\"4\">\n <b>URL:</b> "; #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> "; #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> "; #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> "; #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> "; #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 \n <b>Current Est.:</b> "; #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 \n <b>Hours Worked:</b> "; #line 163 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'actual_time', 0]) }); $output .= " \n <b>Hours Left:</b> "; #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 \n <b>Percentage Complete:</b> "; #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 .= " \n <b>Gain</b> "; #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 \n </td>\n </tr>"; } $output .= "\n\n <tr>\n <td colspan=\"4\">\n <b>Opened:</b> "; #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> "; #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 + -