From f4022fdd42f082ebb012131cad2c0b654888913f Mon Sep 17 00:00:00 2001 From: Carlos Coêlho Date: Thu, 3 Dec 2015 18:05:03 -0200 Subject: [PATCH] Added div colab-content to user detail --- src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_detail.html | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------- 1 file changed, 117 insertions(+), 117 deletions(-) diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_detail.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_detail.html index ab94d21..95b4ad9 100644 --- a/src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_detail.html +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_detail.html @@ -13,152 +13,152 @@ {% endblock %} {% block main-content %} +
+
+
+
+ {% gravatar user_.email 200 %} +
-
-
-
- {% gravatar user_.email 200 %} -
+

+ {{ user_.get_full_name }} + {{ user_.username }} +

-

- {{ user_.get_full_name }} - {{ user_.username }} -

+ {% if request.user == user_ or request.user.is_superuser %} +   {% trans "edit profile"|title %} +   Inscreva-se nas listas de discussão + {% endif %} - {% if request.user == user_ or request.user.is_superuser %} -   {% trans "edit profile"|title %} -   Inscreva-se nas listas de discussão - {% endif %} + {% if request.user.is_active %} + {% if user_.bio %} +
+
    +
  • + {% trans 'Bio' %} +
  • +
  • {{ user_.bio }}
  • +
+ {% endif %} + {% endif %} - {% if request.user.is_active %} - {% if user_.bio %} -
+
+ {% if request.user.is_active %} +
{% endif %} - {% endif %} -
- {% if request.user.is_active %} -
- {% endif %} - -
    - {% if user_.institution or user_.role %} -
  • - - {{ user_.role }} - {% if user_.institution and user_.role %}-{% endif %} - {{ user_.institution }} -
  • - {% endif %} - {% if request.user.is_active %} - {% if SOCIAL_NETWORK_ENABLED %} + {% if user_.institution or user_.role %}
  • - {% if user_.twitter %} - {{ user_.twitter }} - {% endif %} - {% if user_.facebook %} - {{ user_.facebook }} - {% endif %} + + {{ user_.role }} + {% if user_.institution and user_.role %}-{% endif %} + {{ user_.institution }}
  • + {% endif %} + {% if request.user.is_active %} + {% if SOCIAL_NETWORK_ENABLED %} +
  • + {% if user_.twitter %} + {{ user_.twitter }} + {% endif %} + {% if user_.facebook %} + {{ user_.facebook }} + {% endif %} +
  • + + {% if user_.google_talk %} +
  • {{ user_.google_talk }}
  • + {% endif %} - {% if user_.google_talk %} -
  • {{ user_.google_talk }}
  • - {% endif %} - - {% if user_.github %} -
  • {{ user_.github }}
  • - {% endif %} + {% if user_.github %} +
  • {{ user_.github }}
  • + {% endif %} - {% if user_.webpage %} -
  • {{ user_.webpage }}
  • + {% if user_.webpage %} +
  • {{ user_.webpage }}
  • + {% endif %} {% endif %} {% endif %} +
+ {% if user_.mailinglists %} + Listas de discussão + {% for list in user_.mailinglists %} + {{ list }} + {% endfor %} {% endif %} - - {% if user_.mailinglists %} - Listas de discussão - {% for list in user_.mailinglists %} - {{ list }} - {% endfor %} - {% endif %} -
+
-
+
-
-
-
-

{% trans "Collaborations by Type" %}

-
-
-
-
- -

+
+
+
+

{% trans "Collaborations by Type" %}

+
+
+
+
+ +

+
-
-
-
-
-

Participação por lista de discussão

-
-
-
- -

+
+
+
+

Participação por lista de discussão

+
+
+
+ +

+
-
-
- -
- -
-

{% trans "Latest posted" %}

-
    - {% for doc in emails %} - {% include "message-preview.html" with result=doc %} - {% empty %} -
  • {% trans "There are no posts by this user so far." %}
  • - {% endfor %} -
- - {% trans "View more posts..." %} - -
 
-
+
-
-

{% trans "Latest contributions" %}

-
    - {% for result in results %} - {% include "message-preview.html" %} - {% empty %} -
  • {% trans "No contributions of this user so far." %}
  • - {% endfor %} -
- - {% trans "View more contributions..." %} - -
 
-
+
-
+
+

{% trans "Latest posted" %}

+
    + {% for doc in emails %} + {% include "message-preview.html" with result=doc %} + {% empty %} +
  • {% trans "There are no posts by this user so far." %}
  • + {% endfor %} +
+ + {% trans "View more posts..." %} + +
 
+
+
+

{% trans "Latest contributions" %}

+
    + {% for result in results %} + {% include "message-preview.html" %} + {% empty %} +
  • {% trans "No contributions of this user so far." %}
  • + {% endfor %} +
+ + {% trans "View more contributions..." %} + +
 
+
+ +
+
{% endblock %} -- libgit2 0.21.2