Skip to content
Snippets Groups Projects
Commit 9f38afc5 authored by jan.bednarik's avatar jan.bednarik
Browse files

donate: Testing info banner

parent 759dc5e6
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ Různé:
| proměnná | default | popis |
| --- | --- | --- |
| `MAJAK_ENV` | prod | `prod`/`test`/`dev` prostředí kde Maják běží (má vliv jen na logo) |
| `MAJAK_ENV` | prod | `prod`/`test`/`dev` prostředí kde Maják běží |
Settings pro appky na weby:
......
......@@ -22,6 +22,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% meta_tags %}
{% if settings.MAJAK_ENV == "test" %}
<meta name="robots" content="noindex, nofollow">
{% endif %}
<!-- Favicon -->
{% include "shared/favicon_snippet.html" %}
......@@ -43,6 +46,14 @@
{% wagtailuserbar %}
{% if settings.MAJAK_ENV == "test" %}
<div class="pre-navbar d-none d-lg-flex" style="background: #884444; color: #FFFFFF;">
<div class="container d-flex justify-content-center">
<span>TESTOVACÍ WEB! Darujte na <a href="https://dary.pirati.cz/" class="header_link header_link--desktop mr-4 py-2">dary.pirati.cz</a></span>
</div>
</div>
{% endif %}
<!-- HEADER -->
<div class="pre-navbar d-none d-lg-flex" style="background:black;">
<div class="container d-flex justify-content-end">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment