feature: implements locking feature for AI review button; adds detailed audit logging

This commit is contained in:
ievgenii.v 2025-10-29 16:31:07 +02:00
parent 32952f105b
commit 6e3aa8ed6b
10 changed files with 279 additions and 44 deletions

View file

@ -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>