Skip to content

Commit

Permalink
Merge pull request #5126 from galaxyproject/eventforms
Browse files Browse the repository at this point in the history
Event form updates
  • Loading branch information
hexylena authored Jul 4, 2024
2 parents 283e9d5 + e29724e commit ee76e37
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
3 changes: 2 additions & 1 deletion _layouts/recordings.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ <h1 data-toc-skip>Recordings - {{ material.title }} </h1>

<p><b>Want to add your own recording?</b> We would love to have it to our library!</p>

<a href="{% link faqs/gtn/recordings_add.md %}"><button type="button" class="btn btn-info">Add your Recording!</button></a>
[Add your Recording!]({% link faqs/gtn/recordings_add.md %}){: .btn.btn-info}

</div>

<div class="col-md-2">
Expand Down
4 changes: 2 additions & 2 deletions bin/google-form-event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
'contributions' => {
'organisers' => row['Organizers already in the GTN CONTRIBUTORS file'].split(',').map(&:strip)
},
'date_start' => event_date.strftime('%Y-%m-%d'),
'date_start' => event_date.to_date,
}

if row['End date']
post_metadata['date_end'] = event_date_end.strftime('%Y-%m-%d')
post_metadata['date_end'] = event_date_end.to_date
end

# Serialise to a file
Expand Down
2 changes: 1 addition & 1 deletion events/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For a complete list of all Galaxy-related events, please also see the [Galaxy Ev

Anybody is welcome to add their events here.

<a href="{% link faqs/gtn/gtn_event_create.md %}"><button type="button" class="btn btn-success">Add your own event!</button></a>
[Add your own event!]({% link faqs/gtn/gtn_event_create.md %}){: .btn.btn-success}

{% assign upcoming_events = site.pages| where_exp: "item", "item.layout == 'event' or item.layout == 'event-external' " | where_exp: "item", "item.event_state == 'upcoming' " | sort: 'date_start' %}
{% assign ongoing_events = site.pages | where_exp: "item", "item.layout == 'event' or item.layout == 'event-external' " | where_exp: "item", "item.event_state == 'ongoing' " | sort: 'date_start' | reverse %}
Expand Down
14 changes: 11 additions & 3 deletions faqs/gtn/gtn_event_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ box_type: tip
contributors: [shiltemann]
---


To add your event to the GTN, you will need to supply your course information (dates, location, program, etc). You will then get [an event page like this]({% link events/2024-04-01-example-event.md %}) which you can use during your training. This page includes a course overview, course handbook (full program with links to tutorials) and setup instructions for participants.

Your event will also be shown on the [GTN event horizon]({% link events/index.md %}) and on the homepage. We are also happy to advertise your event on social media and Matrix channels.


**Already have your own event page?** No problem! You can add your event as and external event and we will simply link to your page.
**Already have your own event page?** No problem! You can add your event as and external event (see below) and we will simply link to your page!

To add your event to the GTN, please:
To add your event to the GTN:

1. Create a page in the `events/` folder of the [GTN repository](https://github.com/galaxyproject/training-material)
2. Have a look at example event definitions in this folder:
Expand All @@ -30,7 +31,14 @@ Please also feel free to contact us with ideas for improvements! We know that tr


## External events
Already have a course webpage? Great! In this case, you only have to provide the most basic information about your course (title, desciption, dates, location). See also [2024-04-01-example-event-external.md](https://github.com/galaxyproject/training-material/blob/main/events/2024-04-01-example-event-external.md) for an example definition.

Already have a course webpage? Great! In this case, you only have to provide the most basic information about your course (title, desciption, dates, location).

The easiest method is to fill in our Google Form:

[Events Google Form!](https://forms.gle/4KjCKKrZ6kamg81o7){: .btn.btn-success}

Or you can create the event file manually. See also [2024-04-01-example-event-external.md](https://github.com/galaxyproject/training-material/blob/main/events/2024-04-01-example-event-external.md) for an example definition.

```
---
Expand Down
4 changes: 2 additions & 2 deletions faqs/gtn/recordings_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ contributors: [shiltemann]

For some tips and tricks about recording the video itself, please see

<a href="{% link faqs/gtn/recordings_create.md %}"><button type="button" class="btn btn-info">Recording Tips & Tricks</button></a> <a href="https://forms.gle/qNG8FkTN1yRZPNZY6"><button type="button" class="btn btn-info">Submit a Recording</button></a>

[Recording Tips & Tricks]({% link faqs/gtn/recordings_create.md %}){: .btn.btn-info}
[Submit a Recording](https://forms.gle/qNG8FkTN1yRZPNZY6){: .btn.btn-info}

#### Submission process

Expand Down
2 changes: 1 addition & 1 deletion faqs/gtn/recordings_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Both the GTN tutorial and Galaxy itself change significantly over time, and havi

**Done with your recording?** Check out the instructions for adding it to the GTN:

<a href="{% link faqs/gtn/recordings_add.md %}"><button type="button" class="btn btn-info">Submitting Recordings to the GTN</button></a>
[Submitting Recordings to the GTN]({% link faqs/gtn/recordings_add.md %}){: .btn.btn-info}


#### Video content
Expand Down
6 changes: 3 additions & 3 deletions news/_posts/2024-06-14-gtn-video-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Want to record one of our tutorials? **We welcome video recordings from everybod

Please checkout out our FAQs with instructions for adding your own recordings:

<a href="{% link faqs/gtn/recordings_add.md %}"><button type="button" class="btn btn-info">Submitting Recordings to the GTN</button></a>
[Submitting Recordings to the GTN]({% link faqs/gtn/recordings_add.md %}){: .btn.btn-info}

<a href="{% link faqs/gtn/recordings_create.md %}"><button type="button" class="btn btn-info">Recording Tips & Tricks</button></a>
[Recording Tips & Tricks]({% link faqs/gtn/recordings_create.md %}){: .btn.btn-info}

## What this means for...

Expand All @@ -42,7 +42,7 @@ GTN Editors & Maintainers | When a recording is submitted, a pull request wil

This work is based on the work done during the @gtn:gallantries project and the [Video Library 1.0]({{ site.baseurl }}/news/2021/11/23/video-library.html). As that project ended, the features developed during that time have now been rolled into the GTN to ensure their long term sustainability

The number of videos and hours is slightly lower in the GTN version as we have not yet imported every recording, currently we are missing some recordings which are not directly associated with a GTN material (e.g. webinars).
The number of videos and hours is slightly lower in the GTN version as we have not yet imported every recording, currently we are missing some recordings which are not directly associated with a GTN material (e.g. webinars).


[^1]: They must be a recording of a GTN tutorial being taught. We are not accepting recordings of other training events at this time.

0 comments on commit ee76e37

Please sign in to comment.