Update on v1.0.2 (beta for next version)

Here's an update on the current version, which includes changes towards the next release still in beta.
This commit is contained in:
Robot 2023-08-10 17:55:52 +02:00
parent f267175c95
commit 4c6cc04574
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95

View File

@ -63,11 +63,8 @@ defined('_JEXEC') or die('Restricted access');
</style> </style>
<!-- Branch labels --> <!-- Branch labels -->
<g class="branch-labels"> <g class="branch-labels">
<?php $active = []; ?>
<?php foreach ($branches as $branch): ?> <?php foreach ($branches as $branch): ?>
<?php $state = $helper->state($branch); ?> <g class="<?php echo $helper->state($branch); ?>">
<?php $active[$state] = $state; ?>
<g class="<?php echo $state; ?>">
<rect x="0" y="<?php echo $branch->top; ?>" width="<?php echo 0.5 * $params->get('margin_left', 80); ?>" <rect x="0" y="<?php echo $branch->top; ?>" width="<?php echo 0.5 * $params->get('margin_left', 80); ?>"
height="<?php echo $params->get('branch_height', 30); ?>"/> height="<?php echo $params->get('branch_height', 30); ?>"/>
<text x="<?php echo 0.25 * $params->get('margin_left', 80); ?>" y="<?php echo $branch->top + (0.5 * $params->get('branch_height', 30)); ?>"> <text x="<?php echo 0.25 * $params->get('margin_left', 80); ?>" y="<?php echo $branch->top + (0.5 * $params->get('branch_height', 30)); ?>">
@ -180,38 +177,30 @@ defined('_JEXEC') or die('Restricted access');
<div class="vdm-box-shadow-medium"> <div class="vdm-box-shadow-medium">
<div class="vdm-card vdm-card-legend vdm-card-body"> <div class="vdm-card vdm-card-legend vdm-card-body">
<div class="vdm-grid-match vdm-grid"> <div class="vdm-grid-match vdm-grid">
<?php if (isset($active['future'])): ?>
<div class="vdm-flex vdm-flex-middle"> <div class="vdm-flex vdm-flex-middle">
<span <span
class="vdm-color-box vdm-future hasTooltip" class="vdm-color-box vdm-future hasTooltip"
title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_PLANNED_RELEASE_SCHEDULE'); ?>" title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_PLANNED_RELEASE_SCHEDULE'); ?>"
></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_FUTURE_RELEASES'); ?> ></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_FUTURE_RELEASES'); ?>
</div> </div>
<?php endif; ?>
<?php if (isset($active['stable'])): ?>
<div class="vdm-flex vdm-flex-middle"> <div class="vdm-flex vdm-flex-middle">
<span <span
class="vdm-color-box vdm-stable hasTooltip" class="vdm-color-box vdm-stable hasTooltip"
title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_STABLE_RELEASE_SCHEDULE_EXPECT_FULL_SUPPORT_AND_UPDATES'); ?>" title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_STABLE_RELEASE_SCHEDULE_EXPECT_FULL_SUPPORT_AND_UPDATES'); ?>"
></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_STABLE_RELEASE'); ?> ></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_STABLE_RELEASE'); ?>
</div> </div>
<?php endif; ?>
<?php if (isset($active['security'])): ?>
<div class="vdm-flex vdm-flex-middle"> <div class="vdm-flex vdm-flex-middle">
<span <span
class="vdm-color-box vdm-security hasTooltip" class="vdm-color-box vdm-security hasTooltip"
title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_SECURITY_SCHEDULE_EXPECT_ONLY_SECURITY_UPDATES'); ?>" title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_SECURITY_SCHEDULE_EXPECT_ONLY_SECURITY_UPDATES'); ?>"
></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_SECURITY_RELEASE'); ?> ></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_SECURITY_RELEASE'); ?>
</div> </div>
<?php endif; ?>
<?php if (isset($active['eol'])): ?>
<div class="vdm-flex vdm-flex-middle"> <div class="vdm-flex vdm-flex-middle">
<span <span
class="vdm-color-box vdm-end-of-life hasTooltip" class="vdm-color-box vdm-end-of-life hasTooltip"
title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_VERSION_END_OF_LIFE_SCHEDULE_EXPECT_NO_MORE_SUPPORT'); ?>" title="<?php echo JText::_('MOD_VERSION_CALENDAR_SVG_VERSION_END_OF_LIFE_SCHEDULE_EXPECT_NO_MORE_SUPPORT'); ?>"
></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_VERSION_AT_END_OF_LIFE'); ?> ></span><?php echo JText::_('MOD_VERSION_CALENDAR_SVG_VERSION_AT_END_OF_LIFE'); ?>
</div> </div>
<?php endif; ?>
</div> </div>
</div> </div>
</div> </div>