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
c30c9d47
Commit
c30c9d47
authored
9 months ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
add linebreak. fixes
#60
parent
f8793590
No related branches found
No related tags found
No related merge requests found
Pipeline
#24153
passed
9 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_layouts/loancal.ics
+7
-5
7 additions, 5 deletions
_layouts/loancal.ics
with
7 additions
and
5 deletions
_layouts/loancal.ics
+
7
−
5
View file @
c30c9d47
...
...
@@ -11,7 +11,7 @@ X-WR-CALDESC:Termine des Chaotikum e.V.
CALSCALE:GREGORIAN
PRODID:https://chaotikum.org/
METHOD:PUBLISH
{% for loan in site.loan %}
{% for loan in site.loan
-
%}
{%- if loan.devices contains device.uid -%}
BEGIN:VEVENT
UID:{{ loan.uid }}
...
...
@@ -27,8 +27,8 @@ DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ loan.eventdate | date: "%H%M%S
URL:{{site.url}}{{loan.url}}
END:VEVENT
{% endif %}
{%- endfor -%}
{%- endfor -%}
{%- for set in device.sets -%}
{%- for loan in site.loan -%}
{%- if loan.sets contains set -%}
...
...
@@ -46,9 +46,9 @@ DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ loan.eventdate | date: "%H%M%S
URL:{{site.url}}{{loan.url}}
END:VEVENT
{% endif %}
{%- endfor -%}
{%- endfor -%}
{%- for event in site.events -%}
{%- if event.devices contains device.uid-%}
BEGIN:VEVENT
...
...
@@ -67,7 +67,8 @@ DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%
{%- assign post = site.posts | where: "uid", event.uid | first %}
{%- if post %}
URL:{{site.url}}{{post.url}}
{%- endif %}{%- endif -%}
{%- endif %}
{%- endif %}
END:VEVENT
{% endif %}
{%- endfor -%}
...
...
@@ -91,7 +92,8 @@ DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%
{%- assign post = site.posts | where: "uid", event.uid | first %}
{%- if post %}
URL:{{site.url}}{{post.url}}
{%- endif %}{%- endif %}
{%- endif -%}
{%- endif %}
END:VEVENT
{% endif %}
{%- endfor -%}
...
...
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