* Code for task #90780.

This commit is contained in:
tianshujie
2023-04-12 09:08:51 +08:00
parent 1d2a069f12
commit 324dfe4650
13 changed files with 41 additions and 10 deletions
+3 -1
View File
@@ -79,7 +79,9 @@
<?php if($direction == 'next') $actions = array_reverse($actions);?>
<?php foreach($actions as $i => $action):?>
<?php if(empty($firstAction)) $firstAction = $action;?>
<li <?php if($action->major) echo "class='active'";?>>
<?php $class = $action->major ? 'active' : '';?>
<?php if(in_array($action->action, array('releaseddoc', 'collected'))) $class .= " {$action->action}";?>
<li <?php if($action->major) echo "class='$class'";?>>
<div>
<span class="timeline-tag"><?php echo $action->time?></span>
<span class="timeline-text">