This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check if referrer is outside of the website scope | |
if (document.referrer.indexOf(`${window.location.protocol}//${window.location.host}`) === -1) { | |
window.localStorage.setItem('__fnp_referrer', document.referrer); | |
} | |
const referrerField = document.querySelector('[name="signupform[referrer]"]'); | |
const referrerValue = window.localStorage.getItem('__fnp_referrer'); | |
// write stored referrer value back to hidden field in signup-form | |
if (referrerField && referrerValue) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------- | |
| Tarif | Anbieter | Leistungsbeschreibung | Vergleichbar | | |
----------------------------------------------------------------------------- | |
| Standard | TouringCars | Unbegrenzte Freikilometer | ✔️ | | |
| Standard | TouringCars | Transfer inklusive | ✔️ | | |
| Standard | TouringCars | Vom Chef signierter Wackeldackel | ✖️ | | |
| Standard | IndieCampers | Unbegrenzte Freikilometer | ✔️ | | |
----------------------------------------------------------------------------- | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Entity; | |
use ApiPlatform\Core\Annotation\ApiProperty; | |
use Doctrine\ORM\Mapping as ORM; | |
use Ramsey\Uuid\Uuid; | |
trait UuidTrait |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// output: 10.02.2021, 17:53 | |
new Intl.DateTimeFormat('de-DE', { | |
day: '2-digit', | |
month: '2-digit', | |
year: 'numeric', | |
hour: '2-digit', | |
minute: '2-digit', | |
}).format(new Date(comment.created_at)); |
OlderNewer