Merge branch 'release/zentaopms_18.3' of https://gitlab.zcorp.cc/easycorp/zentaopms into release/zentaopms_18.3

This commit is contained in:
caoyanyi
2023-04-07 13:47:35 +08:00
2 changed files with 14 additions and 2 deletions
+12
View File
@@ -199,4 +199,16 @@ $(function()
})
$('.outline .outline-toggle i.icon-angle-right').trigger("click");
$('#hisTrigger').on('click', function()
{
var $history = $('#history');
if($history.hasClass('hidden'))
{
$history.removeClass('hidden');
}
else
{
$history.addClass('hidden');
}
})
})
+2 -2
View File
@@ -56,7 +56,7 @@
$deleteURL = $this->createLink('doc', 'delete', "docID=$doc->id&confirm=yes&from=lib");
echo html::a("javascript:ajaxDeleteDoc(\"$deleteURL\", \"docList\", confirmDelete)", '<i class="icon-trash"></i>', '', "title='{$lang->doc->delete}' class='btn btn-link'");
}?>
<a href="###" class="btn btn-link" title=<?php echo $lang->history?>><i class="icon icon-clock"></i></a>
<a id="hisTrigger" href="###" class="btn btn-link" title=<?php echo $lang->history?>><i class="icon icon-clock"></i></a>
<?php if($this->config->edition == 'max' and $this->app->tab == 'project'):?>
<?php
@@ -162,7 +162,7 @@
<?php common::printPreAndNext($preAndNext);?>
</div>
</div>
<div id="history" class='panel'>
<div id="history" class='panel hidden' style="margin-left: 2px;">
<?php
$canBeChanged = common::canBeChanged('doc', $doc);
if($canBeChanged) $actionFormLink = $this->createLink('action', 'comment', "objectType=doc&objectID=$doc->id");