Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"symfony/validator": "^7.4",
"symfony/web-link": "^7.4",
"symfony/yaml": "^7.4",
"t3g/symfony-template-bundle": "dev-master",
"t3g/symfony-template-bundle": "^6.1",
"t3g/symfony-usercentrics-bundle": "^2.0 || dev-master",
"twig/extra-bundle": "^3.0",
"twig/twig": "^3.0"
Expand Down
18 changes: 8 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions config/packages/nelmio_api_doc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
nelmio_api_doc:
html_config:
assets_mode: bundle
documentation:
info:
title: get.typo3.org
Expand Down
3 changes: 1 addition & 2 deletions config/packages/template.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
template:
application:
name: 'get.typo3.org'
name: 'Get TYPO3'
platformkey: download
copyright:
author: TYPO3 Association
Expand All @@ -20,5 +20,4 @@ template:
Entry in the register of commerce of the Kanton Zug: CHE‑112.256.297
Represented by: Olivier Dobberkau (President)
theme:
use_logo: true
background: white
25 changes: 18 additions & 7 deletions public/assets/Css/additions.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@
.card-inverse {
background-color: #313131;
color: #ffffff;
--frame-link-color: #ffffff;
--frame-link-hover-color: #ffffff;
}


pre {
border-radius: 2px;
padding: 1rem;
background-color: rgba(0,0,0,0.05);
.no-user-selection {
user-select: none;
}


.no-user-selection {
user-select: none;
.elts-version-actions {
container-type: inline-size;
}
.elts-version-actions .btn {
min-width: max-content;
}
@container (max-width: 19rem) {
.elts-version-actions .btn {
width: 100%;
}
}


Expand Down Expand Up @@ -50,7 +58,7 @@ pre {
padding: 0;
}
.changelog .change {
font-family: monospace;
font-family: 'Source Code Pro', monospace;
}
.changelog .change-feature,
.changelog .change-release {
Expand All @@ -62,6 +70,9 @@ pre {
}


.frame .swagger-ui pre.version {
overflow: unset;
}
.frame .swagger-ui .col {
width: initial;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/Filter/ChangeHighlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static function ($matches): string {
$cssClass .= ' change-important';
}

return '<li class="change ' . $cssClass . '">' . $matches['content'];
return '<li class="pre change ' . $cssClass . '">' . $matches['content'];
},
$changeList
);
Expand Down
12 changes: 7 additions & 5 deletions templates/default/root.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,13 @@
<li>Version: <strong>{{ version.latestRelease.version }}{% if version.latestRelease.elts %} ELTS{% endif %}</strong></li>
<li>Release Date: <strong>{{ version.latestRelease.date|date("Y-m-d") }}</strong></li>
</ul>
<a href="https://my.typo3.org/*/elts/{{ version.lts }}" class="btn btn-primary">Buy ELTS {{ version.version }}</a>
<a href="{{ path('version', {'version': version.version}) }}" class="btn btn-light">
{% if version.latestRelease.elts %}See ELTS{% else %}Get version{% endif %}
{{ version.version }}
</a>
<div class="elts-version-actions d-flex gap-2 flex-wrap">
<a href="https://my.typo3.org/*/elts/{{ version.lts }}" class="btn btn-primary">Buy ELTS {{ version.version }}</a>
<a href="{{ path('version', {'version': version.version}) }}" class="btn btn-light">
{% if version.latestRelease.elts %}See ELTS{% else %}Get version{% endif %}
{{ version.version }}
</a>
</div>
{% else %}
<p>No version available.</p>
{% endif %}
Expand Down
Loading