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

📄 field-descs.none.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1157757102',        'name' => 'global/field-descs.none.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n";    #line 24 "template\en\default\global\field-descs.none.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 0 "template\en\default\global\field-descs.none.tmpl"    $stash->set('field_descs', { '[Bug creation]' => ("[" . $stash->get(['terms', 0, 'Bug', 0]) . " creation]"), 'actual_time' => 'Actual Hours', 'alias' => 'Alias', 'assigned_to' => 'Assignee', 'blocked' => 'Blocks', 'bug_file_loc' => 'URL', 'bug_id' => ($stash->get(['terms', 0, 'Bug', 0]) . " ID"), 'bug_severity' => 'Severity', 'bug_status' => 'Status', 'changeddate' => 'Changed', 'cc' => 'CC', 'classification' => 'Classification', 'cclist_accessible' => 'CC list accessible?', 'component_id' => 'Component ID', 'component' => 'Component', 'creation_ts' => ($stash->get(['terms', 0, 'Bug', 0]) . " Creation time"), 'deadline' => 'Deadline', 'delta_ts' => 'Changed', 'dependson' => 'Depends on', 'dup_id' => 'Duplicate', 'estimated_time' => 'Orig. Est.', 'everconfirmed' => 'Ever confirmed?', 'groupset' => 'Groupset', 'keywords' => 'Keywords', 'newcc' => 'CC', 'op_sys' => 'OS', 'opendate' => 'Opened', 'percentage_complete' => '%Complete', 'priority' => 'Priority', 'product_id' => 'Product ID', 'product' => 'Product', 'qa_contact' => 'QA Contact', 'remaining_time' => 'Hours Left', 'rep_platform' => 'Hardware', 'reporter' => 'Reporter', 'reporter_accessible' => 'Reporter accessible?', 'resolution' => 'Resolution', 'setting' => 'Setting', 'settings' => 'Settings', 'short_desc' => 'Summary', 'status_whiteboard' => 'Whiteboard', 'target_milestone' => 'Target Milestone', 'version' => 'Version', 'votes' => 'Votes', 'work_time' => 'Hours Worked'  });        $output .=  "\n\n";    $output .=  "\n";    #line 77 "template\en\default\global\field-descs.none.tmpl"    # USE    $stash->set('Bugzilla',                $context->plugin('Bugzilla'));    #line 81 "template\en\default\global\field-descs.none.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['Bugzilla', 0, 'get_fields', 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->{'bz_field'} = $_tt_value;    #line 79 "template\en\default\global\field-descs.none.tmpl"    if (! $stash->get(['field_descs', 0, $stash->get(['bz_field', 0, 'name', 0]), 0, 'defined', 0])) {    $stash->set(['field_descs', 0, $stash->get(['bz_field', 0, 'name', 0]), 0], $stash->get(['bz_field', 0, 'description', 0]));        }    ;                ($_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 83 "template\en\default\global\field-descs.none.tmpl"    $stash->set('field_types', { '0' => 'Unknown Type', '1' => 'Free Text', '2' => 'Drop Down'  });        $output .=  "\n";    #line 87 "template\en\default\global\field-descs.none.tmpl"    $stash->set('status_descs', { 'UNCONFIRMED' => 'UNCONFIRMED', 'NEW' => 'NEW', 'ASSIGNED' => 'ASSIGNED', 'REOPENED' => 'REOPENED', 'RESOLVED' => 'RESOLVED', 'VERIFIED' => 'VERIFIED', 'CLOSED' => 'CLOSED'  });        $output .=  "\n";    #line 95 "template\en\default\global\field-descs.none.tmpl"    $stash->set('resolution_descs', { 'FIXED' => 'FIXED', 'INVALID' => 'INVALID', 'WONTFIX' => 'WONTFIX', 'DUPLICATE' => 'DUPLICATE', 'WORKSFORME' => 'WORKSFORME', 'MOVED' => 'MOVED', '---' => '---', ' ' => ' '  });        $output .=  "\n";    #line 104 "template\en\default\global\field-descs.none.tmpl"        # MACRO    $stash->set('get_resolution', sub {        my $output = '';        my (%_tt_args, $_tt_params);        $_tt_args{ 'res' } = shift;        $_tt_params = shift;        $_tt_params = { } unless ref($_tt_params) eq 'HASH';        $_tt_params = { %_tt_args, %$_tt_params };            my $stash = $context->localise($_tt_params);        eval {    $output .=  $stash->get(['resolution_descs', 0, $stash->get('res'), 0]) || $stash->get('res');        };        $stash = $context->delocalise();        die $@ if $@;        return $output;    });        $output .=  "\n";    #line 106 "template\en\default\global\field-descs.none.tmpl"    $output .=  $stash->get(['Hook', 0, 'process', [ 'end' ]]);    $output .=  "\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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