Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hemp
Maják
Commits
9f38afc5
Commit
9f38afc5
authored
4 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
donate: Testing info banner
parent
759dc5e6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
donate/templates/donate/base.html
+11
-0
11 additions, 0 deletions
donate/templates/donate/base.html
with
12 additions
and
1 deletion
README.md
+
1
−
1
View file @
9f38afc5
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
donate/templates/donate/base.html
+
11
−
0
View file @
9f38afc5
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment