Browse Source

Add links to profile

Jordi Boggiano 13 years ago
parent
commit
3fd0125a8f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Resources/FOSUserBundle/views/Profile/show.html.twig

+ 3 - 1
app/Resources/FOSUserBundle/views/Profile/show.html.twig

@@ -5,7 +5,9 @@
 {% block content %}
     <div class="box clearfix">
         <h1>{{ user.username }} (that's you!)</h1>
-        <p>This is your profile. You can <a href="{{ path('fos_user_profile_edit') }}">edit</a>.</p>
+        <p><a href="{{ path('fos_user_profile_edit') }}">Edit your information</a></p>
+        <p><a href="{{ path('fos_user_change_password') }}">Change your password</a></p>
+        <p><a href="{{ path('user_profile', {'name':app.user.username}) }}">View your public profile</a></p>
 
         <h1>Your packages</h1>
         {% if user.packages|length %}