Change 2.7.0 page to 2.7.x so it makes more sense to include the minor patch notes

This commit is contained in:
squeek 2016-09-11 16:31:31 -07:00
parent cddb5e809c
commit b002111478
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ foreach ($random_media as $media)
<h3>Patch Notes</h3>
<nav class="cf">
<ul>
<li><a href="<?=GetLink("changelogs/2.7.0")?>">2.7.0</a></li>
<li><a href="<?=GetLink("changelogs/2.7.x")?>">2.7.x</a></li>
<li><a href="<?=GetLink("changelogs/2.6.0")?>">2.6.0</a></li>
<li><a href="<?=GetLink("changelogs/2.5.2")?>">2.5.2</a></li>
<li><a href="<?=GetLink("changelogs/2.5.1")?>">2.5.1</a></li>

View file

@ -6,7 +6,7 @@ if (isset($parameters[0]) && $parameters[0] !== "")
}
else
{
$patch = "2.7.0";
$patch = "2.7.x";
}
?>
@ -17,7 +17,7 @@ else
<nav class="cf">
<ul>
<?php
$post_greenlight_patches = array("2.7.0", "2.6.0", "2.5.2", "2.5.1", "2.5.0");
$post_greenlight_patches = array("2.7.x", "2.6.0", "2.5.2", "2.5.1", "2.5.0");
foreach ($post_greenlight_patches as $post_greenlight_patch)
{
$link_classes = $patch === $post_greenlight_patch ? "current-page" : "";
@ -52,7 +52,7 @@ foreach ($pre_greenlight_patches as $pre_greenlight_patch)
<div class="g3">
<?
if ($patch == "2.7.0") {
if ($patch == "2.7.x") {
?>
<div class="c_table">
<h3 class="no-margin">Patch 2.7.2</h3>