* refactor code.

This commit is contained in:
Catouse
2018-07-05 10:24:09 +08:00
parent fff69a3471
commit 5baae8f3ff
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1,12 +1,10 @@
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<style>
.histories-list > li{word-break: break-all; word-wrap: break-word;}
</style>
<?php if(!empty($blockHistory)):?>
<div class="panel block-histories histories" data-textDiff="<?php echo $lang->action->textDiff;?>" data-original="<?php echo $lang->action->original;?>">
<?php else:?>
<div class="detail histories" id='actionbox' data-textDiff="<?php echo $lang->action->textDiff;?>" data-original="<?php echo $lang->action->original;?>">
<?php endif;?>
<style>.histories-list > li{word-break: break-all; word-wrap: break-word;}</style>
<script>
$(function()
{
+1 -1
View File
@@ -37,7 +37,7 @@
</div>
<div class='detail-content'><?php echo $todo->desc;?></div>
</div>
<div class='detail'><?php include '../../common/view/action.html.php';?></div>
<?php include '../../common/view/action.html.php';?>
</div>
</div>
<div class='side-col col-4'>