Changeset 6d9d4a5 in OpenWorkouts-current for ow


Ignore:
Timestamp:
Feb 28, 2019, 10:41:34 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
643af34
Parents:
3ea428a
Message:

(#66) layout for the "wrong verification code" page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/verify.pt

    r3ea428a r6d9d4a5  
    1010  <metal:content metal:fill-slot="content">
    1111
    12     <div class="verify-content">
     12    <div class="verify-account-content">
    1313
    14       <p i18n:translate="">
    15         Your email hasn't been verified. Check the url and make sure you copied
    16         it exactly as it was in the verification email.
    17       </p>
     14      <div class="info">
    1815
    19       <tal:not-logged-in tal:condition="not request.authenticated_userid">
    20         <a href="" tal:attributes="href request.resource_url(request.root, 'login')"
    21            i18n:translate="">Login</a>
     16        <h1 i18n:translate="">Wrong verification code</h1>
    2217
    23         <a href="" tal:attributes="href request.resource_url(request.root, 'signup')"
    24            i18n:translate="">Join now!</a>
    25       </tal:not-logged-in>
     18        <p i18n:translate="">
     19          Your email hasn't been verified. Check the url and make sure you copied
     20          it exactly as it was in the verification email.
     21        </p>
     22
     23        <tal:not-logged-in tal:condition="not request.authenticated_userid">
     24          <a href="" class="button button-action"
     25             tal:attributes="href request.resource_url(request.root, 'login', query={'email': context.email} )"
     26             i18n:translate="">Back to login</a>
     27
     28          <a href="" class="button button-action"
     29             tal:attributes="href request.resource_url(context, 'resend-verification-link')"
     30             i18n:translate="">Please send me the verification link again</a>
     31
     32        </tal:not-logged-in>
     33
     34      </div>
     35
    2636    </div>
    2737
Note: See TracChangeset for help on using the changeset viewer.