From 58dc1c7a4d69bc0fc43b201c69e99473b304c2ea Mon Sep 17 00:00:00 2001 From: Gust Date: Thu, 3 Dec 2015 17:27:43 -0200 Subject: [PATCH] Remove widget for profile tabs --- colab/accounts/templates/accounts/user_update_form.html | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------- 1 file changed, 72 insertions(+), 106 deletions(-) diff --git a/colab/accounts/templates/accounts/user_update_form.html b/colab/accounts/templates/accounts/user_update_form.html index 297ec36..fc39f5f 100644 --- a/colab/accounts/templates/accounts/user_update_form.html +++ b/colab/accounts/templates/accounts/user_update_form.html @@ -1,11 +1,6 @@ {% extends "base.html" %} {% load i18n gravatar plugins widgets_tag %} -{% block html %} - {% import_widgets 'profile' %} - {{ block.super }} -{% endblock %} - {% block head_js %} {% endblock %} -{% block head %} - {{ block.super }} - - {% for widget in widgets_profile %} - {{ widget.get_header }} - {% endfor %} - -{% endblock %} - {% block main-content %}
@@ -131,16 +117,6 @@ $(function() {

- - - -
-
-
- {% csrf_token %} - -
-
- {% for field in form %} -
-
- - {{ field }} - {{ field.errors }} -
-
- {% endfor %} + + {% csrf_token %} + +
+
+ {% for field in form %} +
+
+ + {{ field }} + {{ field.errors }}
+
+ {% endfor %} +
-
-
-
-

{% trans "Emails" %}

-
-
-
    - {% for email in user_.emails.iterator %} -
  • - {% gravatar user_.email 30 %} - - {% if email.address == user_.email %} - {% trans "Primary" %} - {% else %} -
    - - -
    - {% endif %} -
    -
  • - {% endfor %} - {% for email in user_.emails_not_validated.iterator %} -
  • - {% gravatar user_.email 30 %} - -
    - - -
    -
    -
  • - {% endfor %} -
-
- - -
- -
-
+
+
+
+

{% trans "Emails" %}

-
-
-
-

- {% trans 'Change Password' %} -

-
- +
+
    + {% for email in user_.emails.iterator %} +
  • + {% gravatar user_.email 30 %} + + {% if email.address == user_.email %} + {% trans "Primary" %} + {% else %} +
    + + +
    + {% endif %} +
    +
  • + {% endfor %} + {% for email in user_.emails_not_validated.iterator %} +
  • + {% gravatar user_.email 30 %} + +
    + + +
    +
    +
  • + {% endfor %} +
+
+ +
+
-
-
- +
+
+
+
+

+ {% trans 'Change Password' %} +

+
+
- +
- {% for widget in widgets_profile %} -
-

{{ widget.name }}

- {{ widget.get_body }} +
+
+
- {% endfor %} -
+
+ {% endblock %} -- libgit2 0.21.2