Browse Source

emoji in migration

master
Tykayn 1 year ago committed by tykayn
parent
commit
b63b84d5bf
  1. 1
      composer.json
  2. 71
      composer.lock
  3. 3
      symfony.lock
  4. 16
      templates/pages/migration.html.twig

1
composer.json

@ -15,6 +15,7 @@
"friendsofsymfony/rest-bundle": "^3.0",
"jms/serializer-bundle": "^3.9",
"sensio/framework-extra-bundle": "^6.1",
"symfony/asset": "5.2.*",
"symfony/console": "5.2.*",
"symfony/dotenv": "5.2.*",
"symfony/flex": "^1.3.1",

71
composer.lock generated

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "cbc3e39376e9371be37305d6cd955251",
"content-hash": "8c0122c4e542f317501dd66ea0f62a40",
"packages": [
{
"name": "composer/package-versions-deprecated",
@ -2521,6 +2521,75 @@
],
"time": "2021-03-09T12:30:35+00:00"
},
{
"name": "symfony/asset",
"version": "v5.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/asset.git",
"reference": "54a42aa50f9359d1184bf7e954521b45ca3d5828"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/asset/zipball/54a42aa50f9359d1184bf7e954521b45ca3d5828",
"reference": "54a42aa50f9359d1184bf7e954521b45ca3d5828",
"shasum": ""
},
"require": {
"php": ">=7.2.5"
},
"require-dev": {
"symfony/http-client": "^4.4|^5.0",
"symfony/http-foundation": "^4.4|^5.0",
"symfony/http-kernel": "^4.4|^5.0"
},
"suggest": {
"symfony/http-foundation": ""
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Asset\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/asset/tree/v5.2.4"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2021-01-27T10:01:46+00:00"
},
{
"name": "symfony/cache",
"version": "v5.2.6",

3
symfony.lock

@ -162,6 +162,9 @@
"swiftmailer/swiftmailer": {
"version": "v6.2.7"
},
"symfony/asset": {
"version": "v5.2.4"
},
"symfony/cache": {
"version": "v5.2.6"
},

16
templates/pages/migration.html.twig

@ -4,7 +4,7 @@
<main>
<h1>Migration des sondages depuis un Framadate version 1</h1>
<h1>🍰 Migration des sondages depuis un Framadate version 1 </h1>
<fieldset>
Depuis la base de données <strong>
{{ OLD_DATABASE_NAME }}
@ -14,30 +14,28 @@
</strong> vers la base symfony locale, telle que configurée dans le fichier <strong> .env </strong>.
</fieldset>
<fieldset>
{{ asset('assets/img/check.svg') }}
Ont été migrés:
🎉 Ont été migrés:
<ul>
<li>
Sondages: {{ counters.polls }}
🎈 Sondages: {{ counters.polls }}
</li>
<li>
stacks of vote: {{ counters.polls }}
🍾 stacks of vote: {{ counters.polls }}
</li>
<li>
slots : {{ counters.choices }}
🧁 slots : {{ counters.choices }}
</li>
<li>
votes : {{ counters.votes }}
🍰 votes : {{ counters.votes }}
</li>
<li>
comments : {{ counters.comments }}
comments : {{ counters.comments }}
</li>
</ul>
</fieldset>
<section class="well">
{{ asset('assets/img/undraw_having_fun_iais.svg.svg') }}
<hr>
Debug:

Loading…
Cancel
Save