* Modify the milestone icon for the release.
This commit is contained in:
@@ -736,7 +736,7 @@ class programplanModel extends model
|
||||
echo sprintf('%03d', $plan->id);
|
||||
break;
|
||||
case 'name':
|
||||
$milestoneFlag = $plan->milestone ? " <i class='icon icon-flag' title={$this->lang->programplan->milestone} style='color:red'></i>" : '';
|
||||
$milestoneFlag = $plan->milestone ? " <i class='icon icon-flag red' title={$this->lang->programplan->milestone}'></i>" : '';
|
||||
if($plan->grade > 1) echo '<span class="label label-badge label-light" title="' . $this->lang->programplan->children . '">' . $this->lang->programplan->childrenAB . '</span> ';
|
||||
echo $plan->name . $milestoneFlag;
|
||||
if(!empty($plan->children)) echo '<a class="plan-toggle" data-id="' . $plan->id . '"><i class="icon icon-angle-double-right"></i></a>';
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<td><?php echo html::a(inlink('view', "releaseID=$release->id"), sprintf('%03d', $release->id));?></td>
|
||||
<td>
|
||||
<?php
|
||||
$flagIcon = $release->marker ? "<icon class='icon icon-flag-alt' title='{$lang->release->marker}'></icon> " : '';
|
||||
$flagIcon = $release->marker ? "<icon class='icon icon-flag red' title='{$lang->release->marker}'></icon> " : '';
|
||||
echo html::a(inlink('view', "release=$release->id"), $release->name) . $flagIcon;
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class='page-title'>
|
||||
<span class='label label-id'><?php echo $release->id;?></span>
|
||||
<span class='text' title='<?php echo $release->name;?>'><?php echo $release->name;?></span>
|
||||
<?php $flagIcon = $release->marker ? "<icon class='icon icon-flag-alt' title='{$lang->release->marker}'></icon> " : '';?>
|
||||
<?php $flagIcon = $release->marker ? "<icon class='icon icon-flag red' title='{$lang->release->marker}'></icon> " : '';?>
|
||||
<?php echo $flagIcon;?>
|
||||
<?php if($release->deleted):?>
|
||||
<span class='label label-danger'><?php echo $lang->release->deleted;?></span>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<td><?php echo html::a(inlink('view', "releaseID=$release->id"), sprintf('%03d', $release->id));?></td>
|
||||
<td>
|
||||
<?php
|
||||
$flagIcon = $release->marker ? "<icon class='icon icon-flag-alt' title='{$lang->release->marker}'></icon> " : '';
|
||||
$flagIcon = $release->marker ? "<icon class='icon icon-flag red' title='{$lang->release->marker}'></icon> " : '';
|
||||
echo html::a(inlink('view', "release=$release->id"), $release->name) . $flagIcon;
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class='page-title'>
|
||||
<span class='label label-id'><?php echo $release->id;?></span>
|
||||
<span class='text' title='<?php echo $release->name;?>'><?php echo $release->name;?></span>
|
||||
<?php $flagIcon = $release->marker ? "<icon class='icon icon-flag-alt' title='{$lang->release->marker}'></icon> " : '';?>
|
||||
<?php $flagIcon = $release->marker ? "<icon class='icon icon-flag red' title='{$lang->release->marker}'></icon> " : '';?>
|
||||
<?php echo $flagIcon;?>
|
||||
<?php if($release->deleted):?>
|
||||
<span class='label label-danger'><?php echo $lang->release->deleted;?></span>
|
||||
|
||||
Reference in New Issue
Block a user