FIX: Dashboard- Modify now redirects correctly to MyAccount
authorYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 26 Sep 2013 09:33:21 +0000 (11:33 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 26 Sep 2013 09:33:21 +0000 (11:33 +0200)
portal/templates/dashboard.html

index cb9264b..c80da1a 100644 (file)
@@ -20,7 +20,7 @@
            {% if person.last_name %} <li><span id='username'>{{person.first_name}} {{person.last_name}}</span></li> {% endif %}
            <li><b>Email: </b><a href='mailto:#'>{{person.email}}</a></li>
          </ul>
-         <button id="account" onclick="location.href='{{URL}}/portal/account'" class="btn btn-default">Modify</button>
+         <button id="account" onclick="location.href='/portal/account/'" class="btn btn-default">Modify</button>
        </div>
       </div>