Changeset aa2130b in OpenWorkouts-current for ow/templates/dashboard.pt


Ignore:
Timestamp:
Feb 10, 2019, 8:00:07 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
6662a84
Parents:
f29d4b4
Message:

Added link to the user profile page in the dashboard (both in the profile picture
and the name of the user)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/dashboard.pt

    rf29d4b4 raa2130b  
    105105        <div class="aside-profile">
    106106          <tal:c tal:condition="getattr(context, 'picture', None)">
    107             <img tal:attributes="src request.resource_path(context, 'picture')"
    108                  width="450" />
     107            <a href="" tal:attributes="href request.resource_url(context, 'profile')">
     108              <img tal:attributes="src request.resource_path(context, 'picture')"
     109                   width="450" />
     110            </a>
    109111          </tal:c>
    110           <h2 tal:content="context.fullname"></h2>
     112          <h2>
     113            <a href="" tal:attributes="href request.resource_url(context, 'profile')"
     114               tal:content="context.fullname">
     115            </a>
     116          </h2>
    111117          <ul>
    112118            <Li>
Note: See TracChangeset for help on using the changeset viewer.