emails: added new tags to status sent
- make this distinct colored tags for quick status catch - pass in the status type together with label to the notifiactions and templates - fixed some UI issues on emails
This commit is contained in:
parent
3b24829209
commit
1b62606fc2
10 changed files with 92 additions and 28 deletions
|
|
@ -351,7 +351,8 @@ class ChangesetController(BaseRepoController):
|
|||
f_path=request.POST.get('f_path'),
|
||||
line_no=request.POST.get('line'),
|
||||
status_change=(ChangesetStatus.get_status_lbl(status)
|
||||
if status else None)
|
||||
if status else None),
|
||||
status_change_type=status
|
||||
)
|
||||
# get status if set !
|
||||
if status:
|
||||
|
|
|
|||
|
|
@ -762,6 +762,8 @@ class PullrequestsController(BaseRepoController):
|
|||
line_no=request.POST.get('line'),
|
||||
status_change=(ChangesetStatus.get_status_lbl(status)
|
||||
if status and allowed_to_change_status else None),
|
||||
status_change_type=(status
|
||||
if status and allowed_to_change_status else None),
|
||||
closing_pr=close_pr
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue