diff --git a/src/plainui/jinja2/plainui/profile.html.j2 b/src/plainui/jinja2/plainui/profile.html.j2 index 5bdaa3af0472e97c6f5f5406b08d928e5f25d13b..ed0c7bf4820039471b97b3c5b3178d7097221b09 100644 --- a/src/plainui/jinja2/plainui/profile.html.j2 +++ b/src/plainui/jinja2/plainui/profile.html.j2 @@ -10,6 +10,7 @@ {% import "plainui/components/nav.html.j2" as navMacro with context %} {% import "plainui/components/tagbox.html.j2" as tagMacros %} {% import "plainui/components/badge_elements.html.j2" as badgeMacros with context %} +{% import "plainui/components/buttons.html.j2" as btnMacros %} {% block title %} {{ conf.name }} - {{ _("Profile") }} @@ -64,6 +65,7 @@ <h2 class="hub-head-main">{{ _("My Favorites") }}</h2> <div class="hub-vlayout"> <h2 class="hub-section-title">{{ ("Events") }}</h2> + <div class="mb-2">{{ btnMacros.download(_("Schedule__download__ical") , hub_absolute('api:my-events-ical')) }}</div> <div>{{ list_events.list(my_favorite_events, is_favorite_events, is_fahrplan_events) }}</div> </div> diff --git a/src/plainui/jinja2/plainui/user.html.j2 b/src/plainui/jinja2/plainui/user.html.j2 index 9eee9136b4cf507ca58d0dd7e73f62459de03d68..fdf9f232cc9187ff3562ef4201a826187e387adf 100644 --- a/src/plainui/jinja2/plainui/user.html.j2 +++ b/src/plainui/jinja2/plainui/user.html.j2 @@ -6,7 +6,6 @@ {% import "plainui/components/tagbox.html.j2" as tagMacros %} {% import "plainui/components/list_events.html.j2" as list_events with context %} {% import "plainui/components/function_btns.html.j2" as fbtns with context %} -{% import "plainui/components/buttons.html.j2" as btnMacros %} {% extends "plainui/base.html.j2" %} @@ -49,8 +48,6 @@ <div class="hub-card"> <div class="hub-vlayout"> <h2 class="hub-head-category">{{ _("Events") }}</h2> - <div class="mb-2">{{ btnMacros.download(_("Schedule__download__ical") , hub_absolute('api:my-events-ical')) }}</div> - {{ list_events.list(events, is_favorite_events) }} </div> </div> diff --git a/src/plainui/locale/de/LC_MESSAGES/django.po b/src/plainui/locale/de/LC_MESSAGES/django.po index 0a9084c14494c7fc93279ab9eaea3dc87ecf952f..ddc0fb14c19710066ffa25b7c10236869a63ea1f 100644 --- a/src/plainui/locale/de/LC_MESSAGES/django.po +++ b/src/plainui/locale/de/LC_MESSAGES/django.po @@ -995,16 +995,14 @@ msgstr "" msgid "Your timezone is configured to %(user_timezone)s, conference timezone is %(conf_timezone)s, showing times in your timezone" msgstr "Deine Zeitzone ist auf %(user_timezone)s konfiguriert, die Konferenz findet jedoch in %(conf_timezone)s statt - zeige die Uhrzeiten in deiner Zeitzone" -msgid "Now: %(name)" +#, python-format +msgid "Now: %(name)s" msgstr "Jetzt: %(name)s" #, python-format msgid "Next (%(time)s): %(name)s" msgstr "Nächster (%(time)s): %(name)s" -msgid "Schedule__download__ical" -msgstr "iCalendar" - #, python-format msgid "%(conf)s - Login" msgstr "" @@ -1031,6 +1029,9 @@ msgstr "Nachricht von %(user)s" msgid "My Dashboard" msgstr "Mein Dashboard" +msgid "Schedule__download__ical" +msgstr "iCalendar" + msgid "Project" msgstr "Projekt" diff --git a/src/plainui/locale/en/LC_MESSAGES/django.po b/src/plainui/locale/en/LC_MESSAGES/django.po index c112089694e1d677bce5646b8a3322dd265eaa55..4378b28cac16a9360ef22572a90f8f660293c97a 100644 --- a/src/plainui/locale/en/LC_MESSAGES/django.po +++ b/src/plainui/locale/en/LC_MESSAGES/django.po @@ -995,16 +995,14 @@ msgstr "" msgid "Your timezone is configured to %(user_timezone)s, conference timezone is %(conf_timezone)s, showing times in your timezone" msgstr "" -msgid "Now: %(name)" -msgstr "" +#, python-format +msgid "Now: %(name)s" +msgstr "Tag %(name)s" #, python-format msgid "Next (%(time)s): %(name)s" msgstr "" -msgid "Schedule__download__ical" -msgstr "iCalendar" - #, python-format msgid "%(conf)s - Login" msgstr "" @@ -1031,6 +1029,9 @@ msgstr "" msgid "My Dashboard" msgstr "" +msgid "Schedule__download__ical" +msgstr "iCalendar" + msgid "Project" msgstr ""