Files
@ 3105842da68f
Branch filter:
Location: kallithea/docs/usage/vcs_support.rst
3105842da68f
2.2 KiB
text/prs.fallenstein.rst
changelog: use status label directly from c.statuses.get() output
In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]
So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.
In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]
So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.