📄 show-multiple.html.tmpl
字号:
&$_tt_filter($output); }; $output .= "\n </td>\n"; #line 133 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('rightcell'); $output .= "\n </tr>\n\n <tr>\n <th>"; #line 137 "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, 'priority', 0]); &$_tt_filter($output); }; $output .= ":</th>\n <td class=\"bz_"; #line 138 "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, 'priority', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 139 "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, 'priority', 0]); &$_tt_filter($output); }; $output .= "\n </td>\n"; #line 142 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('rightcell'); $output .= "\n </tr>\n"; #line 145 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('row', { 'cell' => 'version' }); #line 146 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['Param', [ 'usetargetmilestone' ]])) { $output .= $context->process('row', { 'cell' => 'target_milestone' }); } #line 147 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('row', { 'cell' => 'rep_platform' }); #line 148 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('row', { 'cell' => 'op_sys' }); $output .= "\n"; #line 162 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['bug', 0, 'bug_file_loc', 0])) { $output .= "\n <tr>\n <th>"; #line 152 "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_file_loc', 0]); &$_tt_filter($output); }; $output .= ":</th>\n <td colspan=\"3\">"; #line 159 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['bug', 0, 'bug_file_loc', 0, 'match', [ '^(javascript|data)' ]])) { #line 155 "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_file_loc', 0]); &$_tt_filter($output); }; } else { $output .= "\n <a href=\""; #line 157 "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_file_loc', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 158 "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_file_loc', 0]); &$_tt_filter($output); }; $output .= "</a>"; } $output .= "\n </td>\n </tr>"; } $output .= "\n"; #line 166 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['Param', [ 'usestatuswhiteboard' ]])) { #line 165 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('row', { 'cell' => 'status_whiteboard', 'fullrow' => 1 }); } $output .= "\n"; #line 168 "template\en\default\bug\show-multiple.html.tmpl" # USE $stash->set('Bugzilla', $context->plugin('Bugzilla')); #line 169 "template\en\default\bug\show-multiple.html.tmpl" $stash->set('field_counter', 0); #line 177 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['Bugzilla', 0, 'get_fields', [ { 'obsolete' => 0, 'custom' => 1 } ]]); 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->{'field'} = $_tt_value; #line 171 "template\en\default\bug\show-multiple.html.tmpl" $stash->set('field_counter', $stash->get('field_counter') + 1); $output .= "\n "; #line 173 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get('field_counter') % 2) { $output .= '<tr>'; } #line 174 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('bug/field.html.tmpl', { 'value' => $stash->get(['bug', 0, $stash->get(['field', 0, 'name', 0]), 0]), 'editable' => 0 }); $output .= "\n "; #line 176 "template\en\default\bug\show-multiple.html.tmpl" if (! ($stash->get('field_counter') % 2)) { $output .= '</tr>'; } ; ($_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 179 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get('field_counter') % 2) { $output .= '<th></th><td></td></tr>'; } $output .= "\n"; #line 184 "template\en\default\bug\show-multiple.html.tmpl" if (($stash->get(['bug', 0, 'dependson', 0, 'size', 0]) || $stash->get(['bug', 0, 'blocked', 0, 'size', 0]))) { #line 182 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('dependencies', { 'name' => 'dependson' }); #line 183 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('dependencies', { 'name' => 'blocked' }); } $output .= "\n"; #line 225 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['user', 0, 'in_group', [ $stash->get(['Param', [ 'timetrackinggroup' ]]) ]])) { $output .= "\n <tr>\n <th>Time tracking:</th>\n <td colspan=\"3\">\n <table class=\"timetracking\">\n <tr>\n <th>"; #line 192 "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, 'estimated_time', 0]); &$_tt_filter($output); }; $output .= "</th>\n <th>"; #line 193 "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, 'actual_time', 0]); &$_tt_filter($output); }; $output .= "</th>\n <th>"; #line 194 "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, 'work_time', 0]); &$_tt_filter($output); }; $output .= "</th>\n <th>"; #line 195 "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, 'remaining_time', 0]); &$_tt_filter($output); }; $output .= "</th>\n <th>"; #line 196 "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, 'percentage_complete', 0]); &$_tt_filter($output); }; $output .= "</th>\n <th>Gain</th>\n </tr>\n <tr>\n <td>"; #line 201 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'estimated_time', 0]) }); $output .= "\n </td>\n <td>"; #line 204 "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 </td>\n <td>"; #line 207 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'actual_time', 0]) }); $output .= "</td>\n <td>"; #line 209 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'remaining_time', 0]) }); $output .= "\n </td>\n <td>"; #line 212 "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 </td>\n <td>"; #line 216 "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 </td>\n </tr>\n </table>\n </td>\n </tr>"; #line 224 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('row', { 'cell' => 'deadline' }); } $output .= "\n"; #line 269 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['bug', 0, 'attachments', 0, 'size', 0])) { $output .= "\n <tr>\n <th>Attachments:</th>\n <td colspan=\"3\">"; #line 266 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['bug', 0, 'show_attachment_flags', 0])) { $output .= "\n <table>\n <tr>\n <th>Description</th>\n <th>Flags</th>\n </tr>"; #line 258 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['bug', 0, 'attachments', 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->{'attachment'} = $_tt_value; $output .= "\n <tr>\n <td>\n <a href=\"attachment.cgi?id="; #line 240 "template\en\default\bug\show-multiple.html.tmpl" $output .= $stash->get(['attachment', 0, 'id', 0]); $output .= "\">"; #line 241 "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(['attachment', 0, 'description', 0]); &$_tt_filter($output); };
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -