Explorar el Código

Add links to profile

Jordi Boggiano hace 13 años
padre
commit
3fd0125a8f
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 %}