From 8ac2322b48ea72e5200e3ee8a9204d9dbac1e7db Mon Sep 17 00:00:00 2001 From: Darkboy17 Date: Thu, 15 Feb 2024 18:32:05 +0530 Subject: [PATCH] Issue #17 fixed (#38) Add button link to view or edit speaker profile #17 --------- Co-authored-by: Marco A. Gutierrez --- src/pretalx/cfp/templates/cfp/event/cfp.html | 7 +++++++ src/pretalx/cfp/templates/cfp/event/index.html | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/pretalx/cfp/templates/cfp/event/cfp.html b/src/pretalx/cfp/templates/cfp/event/cfp.html index fdb5dfceb..fc4379786 100644 --- a/src/pretalx/cfp/templates/cfp/event/cfp.html +++ b/src/pretalx/cfp/templates/cfp/event/cfp.html @@ -43,6 +43,13 @@

{{ cfp.headline|default:"" }}

{% translate "Edit or view your proposals" %} {% endif %} + + {% if has_submissions or request.user.is_anonymous %} + + {% translate "View or edit speaker profile" %} + + {% endif %} + {% if cfp.is_open or access_code.is_valid %} diff --git a/src/pretalx/cfp/templates/cfp/event/index.html b/src/pretalx/cfp/templates/cfp/event/index.html index c9306123e..d39197981 100644 --- a/src/pretalx/cfp/templates/cfp/event/index.html +++ b/src/pretalx/cfp/templates/cfp/event/index.html @@ -16,6 +16,13 @@ {% translate "Edit or view your proposals" %} {% endif %} + + {% if not is_html_export %} + + {% translate "View or edit speaker profile" %} + + {% endif %} + {% endif %} {% if request.event.current_schedule and request.event.feature_flags.show_schedule %}