bug_tracker::patch_action_pretty (public)

 bug_tracker::patch_action_pretty action

Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl

Parameters:
action (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::search::patch::datasource bug_tracker::search::patch::datasource (private) bug_tracker::patch_action_pretty bug_tracker::patch_action_pretty bug_tracker::search::patch::datasource->bug_tracker::patch_action_pretty packages/bug-tracker/www/patch.tcl packages/bug-tracker/ www/patch.tcl packages/bug-tracker/www/patch.tcl->bug_tracker::patch_action_pretty _ _ (public) bug_tracker::patch_action_pretty->_

Testcases:
No testcase defined.
Source code:

    array set action_codes {
        open bug-tracker.Opened
        edit bug-tracker.Edited
        comment bug-tracker.Comment
        accept bug-tracker.Accepted
        reopen bug-tracker.Reopened
        refuse bug-tracker.Refused
        delete bug-tracker.Deleted
    }

    if { [info exists action_codes($action)] } {
        return [_ $action_codes($action)]
    } else {
        return ""
    }
Generic XQL file:
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: