Skip to content

Commit

Permalink
Change texts in the front page of "Call for Speakers" (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan authored Feb 19, 2025
1 parent 190c946 commit 2ca2edf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,7 @@ src/tests/**/*.yml

# Screenshots
screens/

# Stuff which were generated by our Docker containers
.bash_history
.npm
4 changes: 2 additions & 2 deletions src/pretalx/cfp/templates/cfp/event/submission_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ <h2>{% block submission_step_title %}{{ title|default:'' }}{% endblock submissio
{% endblock buttons %}
</form>
{% else %}
<h2>{% translate "You are required to be logged in to submit a proposal" %}</h2>
<p>{% translate "To create your proposal, you need an account on this page. This not only gives us a way to contact you, it also gives you the possibility to edit your proposal or to view its current state." %}</p>
<h2>{{ _('You need to be logged in to submit a proposal') }}</h2>
<p>{{ _('Please log in or create an account to submit a proposal. This enables us to contact you and allows you to edit your proposal or check its status at any time.') }}</p>
{% include "common/auth.html" with form=form no_form=True no_buttons=True next_url=request.get_full_path %}
{% endif %}
{% endblock cfp_form %}
Expand Down
4 changes: 2 additions & 2 deletions src/pretalx/common/templates/common/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="panel panel-default">
<div class="panel-heading text-center" id="headingOne">
<a class="btn btn-lg btn-primary btn-block mt-3" href="{% oauth_login_url next_url %}">
{% translate "Login with SSO" %}
{{ _('Login') }}
</a>
</div>
</div>
Expand All @@ -38,7 +38,7 @@
<div class="panel panel-default">
<div class="panel-heading text-center" id="headingTwo">
<a class="btn btn-lg btn-primary btn-block mt-3" href="{% register_account_url next_url %}">
{% translate "Register Speaker Account" %}
{{ _('Register account') }}
</a>
</div>
</div>
Expand Down

0 comments on commit 2ca2edf

Please sign in to comment.