This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #786 from nidico/feature-overlays-join-validate
Intermediate show and validate pages
- Loading branch information
Showing
11 changed files
with
218 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<%inherit file="/template.html" /> | ||
<%namespace name="components" file="/components.html"/> | ||
<%def name="title()">${_(u'Join %s' % c.instance.label)}</%def> | ||
|
||
<%def name="breadcrumbs()"> | ||
${h.instance.breadcrumbs(c.page_instance)|n} ${_(u'Join')} | ||
</%def> | ||
|
||
<%block name="headline"> | ||
<h3>${_(u'Join instance')}</h3> | ||
</%block> | ||
|
||
<%block name="main_content"> | ||
<form name="ask_join" class="inplace" method="GET" | ||
action="${h.entity_url(c.page_instance, member='join')}"> | ||
${h.field_token()|n} | ||
<input type="hidden" name="came_from" value="${c.came_from}" /> | ||
${_(u'In order to perform the requested action, you need to join this instance.')} | ||
${components.savebox(cancel_url=None, save_text=u'Join')} | ||
</form> | ||
</%block> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<%inherit file="/template.html" /> | ||
<%namespace name="components" file="/components.html"/> | ||
<%def name="title()">${_(u'Validate email address')}</%def> | ||
|
||
<%def name="breadcrumbs()"> | ||
${h.instance.breadcrumbs(c.page_user)|n} ${_(u'Validate email address')} | ||
</%def> | ||
|
||
<%block name="headline"> | ||
<h3>${_(u'Validate email address')}</h3> | ||
</%block> | ||
|
||
<%block name="main_content"> | ||
<form name="ask_activate" class="inplace" method="GET" | ||
action="${h.user.activation_url()}"> | ||
${h.field_token()|n} | ||
<input type="hidden" name="came_from" value="${c.came_from}" /> | ||
|
||
<p>${_(u'You have not yet validated your email address.')}</p> | ||
<p>${_(u'An email with a validation link has been sent to your email address (%s) right after registration. Please follow that link in order to proceed.' % c.user.email)}</p> | ||
<p>${_(u'If you click on the button below, the validation link will be resent to you.')}</p> | ||
|
||
${components.savebox(cancel_url=None, save_text=u'Resend activation link')} | ||
</form> | ||
</%block> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%inherit file="/template.html" /> | ||
<%namespace name="components" file="/components.html"/> | ||
<%def name="title()">${_(u'Validate email address')}</%def> | ||
|
||
<%def name="breadcrumbs()"> | ||
${h.instance.breadcrumbs(c.page_user)|n} ${_(u'Validate email address')} | ||
</%def> | ||
|
||
<%block name="headline"> | ||
<h3>${_(u'Validation email sent')}</h3> | ||
</%block> | ||
|
||
<%block name="main_content"> | ||
${_(u'An email has been sent to you. Please click on the validation link in this email in order to proceed.')} | ||
</%block> | ||
|