Merge branch 'devops_cyy_bug' into 'master'

修复未增加权限功能

See merge request easycorp/zentaopms!1884
This commit is contained in:
李玉春
2022-02-22 07:51:13 +00:00
+1 -1
View File
@@ -82,7 +82,7 @@
</tbody>
</table>
<div class='table-footer'>
<?php echo html::submitButton($lang->repo->diff, '', count($logs) < 2 ? 'disabled btn btn-primary' : 'btn btn-primary')?>
<?php if(common::hasPriv('repo', 'diff')) echo html::submitButton($lang->repo->diff, '', count($logs) < 2 ? 'disabled btn btn-primary' : 'btn btn-primary')?>
<?php $pager->show('right', 'pagerjs');?>
</div>
</form>