Source

transifex / transifex / templates / userena / base_userena.html

{% extends "userena/mount_userena.html" %}
{% load staticfiles %}
{% load i18n %}
{% load addons %}
{% load txcommontags %}


{% settings ENABLE_NOTICES %}
{% block basecss %}
{{ block.super }}
  <link media="screen" href="{% static "css/userspace.css" %}" type="text/css" rel="stylesheet" />
{% endblock %}

{% block extrajs %}
    <script type="text/javascript">
			$(document).ready(function(){
				$(".side-menu").css('height',$(".psettings-content").height());
				$(".tx-form input[type='checkbox']").parents(".tx-form-field").addClass("txf-checkbox");
			});
		</script>
{% endblock %}

{% block content_main %}

{% url socialauth_begin 'twitter' as social_twitter_url %}
{% if social_twitter_url %}
	<div class="side-menu grid_3 alpha left-side">
		{% comment %}Dirty hack. Will use django-guardian in the future.{% endcomment %}
		<ul>
			<li class="head">Account</li>
			{% url userena_profile_detail user.username as url_user_profile %}
			<li class="inner-item {% if site_section.0 == 'accounts' and not site_section.2 %}active{% endif %}"><a href="{{ url_user_profile }}">{% trans "Edit profile" %}</a></li>
		  <li class="inner-item {% if site_section.0 == 'accounts' and site_section.2 == 'email' %}active{% endif %}"><a href="{% url userena_email_change user.username %}">{% trans "Change email" %}</a></li>
          <li class="inner-item {% if site_section.0 == 'accounts' and site_section.2 == 'password' %}active{% endif %}"><a href="{% url userena_password_change user.username %}">{% trans "Change password" %}</a></li>
          {% if ENABLE_NOTICES %}
          <li class="inner-item {% if site_section.0 == 'notices' %}active{% endif %}"><a href="{% url notification_notices %}">{% trans "Notification settings" %}</a></li>
          {% endif %}
		  {% url profile_social_settings user.username as url_profile_social_settings %}
			<li class="inner-item {% if site_section.0 == 'accounts' and site_section.2 == 'social' %}active{% endif %}"><a href="{{ url_profile_social_settings }}">{% trans "Social login" %}</a></li>
      
	  </ul>
	</div>

{% endif %}

<div class="grid_9 omega psettings-content">{% block userena_header %}{% endblock %}{% block userena_content%}{% endblock %}</div>

{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.