Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaotikum
website
Commits
fdf8af12
Commit
fdf8af12
authored
1 year ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
nicht jedes event muss auf der frontpage angekündigt werden
parent
1d13855c
No related branches found
No related tags found
No related merge requests found
Pipeline
#10009
passed
1 year ago
Stage: test
Stage: deploy
Changes
3
Pipelines
73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_events/20230704-heizung.markdown
+1
-0
1 addition, 0 deletions
_events/20230704-heizung.markdown
_includes/space-status-mobile.html
+7
-5
7 additions, 5 deletions
_includes/space-status-mobile.html
_includes/space-status.html
+7
-4
7 additions, 4 deletions
_includes/space-status.html
with
15 additions
and
9 deletions
_events/20230704-heizung.markdown
+
1
−
0
View file @
fdf8af12
...
...
@@ -5,6 +5,7 @@ eventdate: 2023-07-04 09:00:00 +0100
eventend
:
2023-07-04 18:00:00 +0100
#https://www.uuidgenerator.net/
uid
:
eb69b7f4-2c5a-47e1-9d68-513bf3a73a2d
nofrontpage
:
true
contact
:
info@chaotikum.org
locations
:
-
nbsp
...
...
This diff is collapsed.
Click to expand it.
_includes/space-status-mobile.html
+
7
−
5
View file @
fdf8af12
...
...
@@ -6,10 +6,12 @@
{%- for e in site.events -%}
{%- capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%}
{%- capture event_start %}{{e.eventdate | date: '%s' }}{%- endcapture -%}
{%- if event_start_plus
<
nowunix
and
event_start
>
nowunix and show_event > 1 -%}
<div
id=
"event_soon_mobile"
style=
"margin-top: 5px;"
>
<b>
🗓
</b>
{%- assign show_event = 0 - %}
<p
id=
"nextevent_mobile"
>
{{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}
</p>
</div>
{%- if event_start_plus
<
nowunix
and
event_start
>
nowunix and show_event > 1 -%}
{%- if e.nofrontpage == nil or e.nofrontpage == '' -%}
<div
id=
"event_soon_mobile"
style=
"margin-top: 5px;"
>
<b>
🗓
</b>
{%- assign show_event = 0 - %}
<p
id=
"nextevent_mobile"
>
{{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}
</p>
</div>
{%- endif -%}
{%- endif -%}
{% endfor -%}
This diff is collapsed.
Click to expand it.
_includes/space-status.html
+
7
−
4
View file @
fdf8af12
...
...
@@ -4,10 +4,13 @@
{%- capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%}
{%- capture event_start %}{{e.eventdate | date: '%s' }}{%- endcapture -%}
{%- if event_start_plus
<
nowunix
and
event_start
>
nowunix and show_event > 1 -%}
<div
id=
"event_soon"
style=
"margin-top: 5px;"
>
<b>
🗓
</b>
{%- assign show_event = 0 - %}
<p
id=
"nextevent"
>
{{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}
</p>
{% endif -%}
</div>
{%- if e.nofrontpage == nil or e.nofrontpage == '' -%}
<div
id=
"event_soon"
style=
"margin-top: 5px;"
>
<b>
🗓
</b>
{%- assign show_event = 0 - %}
<p
id=
"nextevent"
>
{{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}
</p>
</div>
{% endif -%}
{% endif -%}
{%- endfor -%}
<div
id=
"spaceopen"
class=
"chaotikum-about"
>
Ob der Nobreakspace offen ist siehst du
<a
href=
'https://status.nobreakspace.org'
target=
'_blank'
>
hier
</a><p>
Oder aktiviere Javascript
</p>
...
...
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