feature: implements locking feature for AI review button; adds detailed audit logging
This commit is contained in:
parent
32952f105b
commit
6e3aa8ed6b
10 changed files with 279 additions and 44 deletions
|
|
@ -714,11 +714,18 @@
|
|||
${_('AI')}
|
||||
</span>
|
||||
</div>
|
||||
<div class="btn-group btn-group-actions" style="margin-top: 10px">
|
||||
<a id="ai-code-review" class="btn btn-primary no-margin">
|
||||
${_('Start AI code review')}
|
||||
</a>
|
||||
</div>
|
||||
% if not c.ai_code_review_state:
|
||||
<div class="btn-group btn-group-actions" style="margin-top: 10px">
|
||||
<button id="ai-code-review" class="btn btn-primary no-margin">
|
||||
${_('Start AI code review')}
|
||||
</button>
|
||||
</div>
|
||||
% else:
|
||||
<div style="margin-top: 10px">
|
||||
<span>${_('AI review already %s' %c.ai_code_review_state)}</span>
|
||||
</div>
|
||||
% endif
|
||||
|
||||
##<input id="ai-code-review" class="btn" name="save" type="submit" value="${_('Start AI code review')}">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue