Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #17 fixed #38

Merged
merged 2 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/pretalx/cfp/templates/cfp/event/cfp.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ <h1>{{ cfp.headline|default:"" }}</h1>
{% translate "Edit or view your proposals" %}
</a>
{% endif %}

{% if has_submissions or request.user.is_anonymous %}
<a class="btn btn-info btn-lg btn-block" href="{{ request.event.urls.user }}">
{% translate "View or edit speaker profile" %}
</a>
{% endif %}

<a class="btn btn-success btn-lg btn-block {% if not cfp.is_open and not access_code.is_valid %}disabled{% endif %}"
href="{{ request.event.urls.submit }}{{ submit_qs }}">
{% if cfp.is_open or access_code.is_valid %}
Expand Down
7 changes: 7 additions & 0 deletions src/pretalx/cfp/templates/cfp/event/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
{% translate "Edit or view your proposals" %}
</a>
{% endif %}

{% if not is_html_export %}
<a class="btn btn-info btn-lg btn-block" href="{{ request.event.urls.user }}">
{% translate "View or edit speaker profile" %}
</a>
{% endif %}

{% endif %}
{% if request.event.current_schedule and request.event.feature_flags.show_schedule %}
<a class="btn btn-success btn-lg btn-block" href="{{ request.event.urls.schedule }}">
Expand Down
Loading