Browse Source

colors, undefined active support/eol

merge-requests/1/head
JamesRezo 4 years ago
parent
commit
fcb2392576
  1. 8
      data/releases.json
  2. 12
      modeles/supported-versions.html
  3. 3
      supportedversions_fonctions.php

8
data/releases.json

@ -1,28 +1,28 @@
[{
"branch": "1.8",
"initial_release": "2005-04-01",
"active_support": "",
"active_support": "2010-04-09",
"eol": "2010-04-09",
"last_version_release": "1.8.3b",
"last_date_release": "2008-12-24"
},{
"branch": "1.9",
"initial_release": "2006-07-01",
"active_support": "",
"active_support": "2012-05-12",
"eol": "2012-05-12",
"last_version_release": "1.9.2p",
"last_date_release": "2012-05-14"
},{
"branch": "2.0",
"initial_release": "2008-12-12",
"active_support": "",
"active_support": "2016-01-06",
"eol": "2016-01-06",
"last_version_release": "2.0.26",
"last_date_release": "2015-06-24"
},{
"branch": "2.1",
"initial_release": "2010-04-09",
"active_support": "",
"active_support": "2017-10-17",
"eol": "2017-10-17",
"last_version_release": "2.1.30",
"last_date_release": "2017-03-06"

12
modeles/supported-versions.html

@ -12,7 +12,7 @@
g.eol rect,
.branches rect.eol {
fill: #f33;
fill: #e29ea2;
}
g.eol text {
@ -21,17 +21,17 @@
g.security rect,
.branches rect.security {
fill: #f93;
fill: #fceaae;
}
g.stable rect,
.branches rect.stable {
fill: #9c9;
fill: #c3e2c5;
}
g.future rect,
.branches rect.future {
fill: #c15e92;
fill: #edcbdc;
}
.branch-labels text {
@ -85,7 +85,7 @@
<BOUCLE_years(DATA){source table, #NULL|years}>
<line x1="[(#VALEUR|horiz_coord)]" y1="#SVG{header_height}" x2="[(#VALEUR|horiz_coord)]" y2="[(#SVG{header_height}|height)]" />
<text x="[(#VALEUR|horiz_coord)]" y="[(#SVG{header_height}|mult{0.8})]">
[(#VALEUR|affdate)]
[(#VALEUR|affdate{M Y})]
</text>
</BOUCLE_years>
</g>
@ -94,7 +94,7 @@
<g class="today">
<line x1="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y1="#SVG{header}" x2="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y2="[(#SVG{header_height}|height)]" />
<text x="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y="[(#SVG{header_height}|height|strplus{#SVG{footer_height}|mult{0.8}})]">
Today: [(#DATE|affdate)]
[<:info_aujourdhui:> (#DATE|affdate)]
</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

3
supportedversions_fonctions.php

@ -63,7 +63,8 @@ function horiz_coord($date) {
return date_horiz_coord(date_create_from_format('Y-m-d', $date));
}
return '';
//return '';
return date_horiz_coord(max_date());
}
function years() {

Loading…
Cancel
Save