Merge lp:~vorlon/summit/better-registration-link into lp:summit

Proposed by Steve Langasek
Status: Merged
Approved by: Michael Hall
Approved revision: 222
Merged at revision: 567
Proposed branch: lp:~vorlon/summit/better-registration-link
Merge into: lp:summit
Diff against target: 24 lines (+5/-3)
2 files modified
summit/schedule/templates/schedule/summit.html (+3/-1)
summit/version.py (+2/-2)
To merge this branch: bzr merge lp:~vorlon/summit/better-registration-link
Reviewer Review Type Date Requested Status
Michael Hall (community) Approve
Review via email: mp+215586@code.launchpad.net

Description of the change

Make registration more obvious for non-logged-in users.

If the user is not logged in, they are shown no information about how to register, only a small login link in the upper corner of the page. Give the user a more obvious link, so that if they want to register they will be guided through the login (or account creation) process.

To post a comment you must log in.
Revision history for this message
Michael Hall (mhall119) wrote :

Looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'summit/schedule/templates/schedule/summit.html'
2--- summit/schedule/templates/schedule/summit.html 2013-05-09 20:30:41 +0000
3+++ summit/schedule/templates/schedule/summit.html 2014-04-13 21:52:18 +0000
4@@ -46,8 +46,10 @@
5 {% else %}
6 {% if request.user.is_authenticated %}
7 <p><strong>You have not registered in Summit.</strong></p>
8- <p><a class="link-cta" href="{% url registration summit %}">Register in Summit</a></p>
9+ {% else %}
10+ <p><strong>Log in now to register:</strong></p>
11 {% endif %}
12+ <p><a class="link-cta" href="{% url registration summit %}">Register in Summit</a></p>
13 {% endif %}
14 </section>
15 <article class="span-4 last">
16
17=== modified file 'summit/version.py'
18--- summit/version.py 2013-08-28 11:38:34 +0000
19+++ summit/version.py 2014-04-13 21:52:18 +0000
20@@ -1,2 +1,2 @@
21-version = '1.2.14'
22-revno = '560'
23+version = '1.2.16'
24+revno = '221'

Subscribers

People subscribed via source and target branches