Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teckids.org
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
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Team PR
teckids.org
Commits
b5c99f7a
Unverified
Commit
b5c99f7a
authored
11 months ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
[WIP] Add event box
parent
d44a26c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#177081
passed
11 months ago
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
content/blog/2024/03/2024-03-13_glt-2024/index.md
+1
-2
1 addition, 2 deletions
content/blog/2024/03/2024-03-13_glt-2024/index.md
events.json
+9
-0
9 additions, 0 deletions
events.json
templates/shortcodes/teckids_event.html
+52
-0
52 additions, 0 deletions
templates/shortcodes/teckids_event.html
with
62 additions
and
2 deletions
content/blog/2024/03/2024-03-13_glt-2024/index.md
+
1
−
2
View file @
b5c99f7a
...
...
@@ -47,5 +47,4 @@ Dieses Jahr bieten wir zwei Workshop-Themen aus unserem festen
*
Nachmittags werden, ebenfalls mit Python, Mikrocontroller programmiert, um
LEDs blinken zu lassen und Animationen auf einem Display anzuzeigen
Die Anmeldung ist über
[
TIC-Desk
](
https://ticdesk.teckids.org/app/paweljong/event/froglabs-2024-glt/
)
möglich.
{{ teckids_event(slug="froglabs-2024-glt") }}
This diff is collapsed.
Click to expand it.
events.json
0 → 100644
+
9
−
0
View file @
b5c99f7a
{
"froglabs-2024-glt"
:
{
"display_name"
:
"Mini-FrogLabs Grazer Linux-Tage 2024"
,
"description"
:
"Workshopprogramm für Kinder und Jugendliche bei den Grazer Linux-Tagen 2024"
,
"location"
:
"Graz"
,
"date"
:
"2024-04-06"
,
"cost"
:
40
}
}
This diff is collapsed.
Click to expand it.
templates/shortcodes/teckids_event.html
0 → 100644
+
52
−
0
View file @
b5c99f7a
{% set events_data = load_data(path="events.json") -%}
{% set event = events_data[slug] -%}
<h2>
{{ title | default(value="Informationen und Anmeldung") }}
</h2>
<section
class=
"section event-section"
>
<div
class=
"card event-card"
>
<div
class=
"card-content"
>
<div
class=
"columns"
>
<div
class=
"column is-two-thirds event-info"
>
<h3
class=
"title is-5"
>
{{ event.display_name }}
</h3>
<p
class=
"subtitle is-6"
>
{{ event.description }}
</p>
<div
class=
"columns"
>
<div
class=
"column is-one-third"
>
<address>
{{ event.location }}
</address>
</div>
<div
class=
"column is-one-third"
>
<time
datetime=
"{{ event.date }}"
>
{{ event.date | date }}
</time>
</div>
<div
class=
"column is-one-third"
>
{{ event.cost }} €
</div>
</div>
</div>
<div
class=
"column is-one-third"
>
<div
class=
"buttons are-large are-responsive"
>
<a
class=
"button is-primary is-fullwidth"
href=
"https://ticdesk.teckids.org/app/paweljong/event/{{ slug }}"
>
<div
class=
"icon-text"
>
<span
class=
"icon"
><i
class=
"fa-solid fa-envelope-open-text"
></i></span>
<span>
Zur Anmeldung
</span>
</div>
</a>
<a
class=
"button is-link is-fullwidth"
href=
"mailto:{{ mail|default(value="
verein
@
teckids.org
")
}}"
>
<div
class=
"icon-text"
>
<span
class=
"icon"
><i
class=
"fa-solid fa-envelope-open-text"
></i></span>
<span>
E-Mail schreiben
</span>
</div>
</a>
<a
class=
"button is-link is-fullwidth"
href=
"tel:{{ phone|default(value="
+4922892934160")
}}"
>
<div
class=
"icon-text"
>
<span
class=
"icon"
><i
class=
"fa-solid fa-phone"
></i></span>
<span>
Anrufen
</span>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
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