Changeset - f4343a097ab9
[Not reviewed]
0 2 0
Christopher Neugebauer - 4 years ago 2017-08-10 04:17:05
chrisjrn@gmail.com
Minor account bar changes
2 files changed with 17 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_account_bar.html
Show inline comments
...
 
@@ -7,15 +7,12 @@
 
        <span class="navbar-text">
 
            <i class="fa fa-user"></i> {% user_display request.user %}
 
        </span>
 
        <li>
 
            <a href="{% url "dashboard" %}"><i class="fa fa-tasks"></i> {% trans "Dashboard" %}</a>
 
        </li>
 
        <li>
 
            <a href="{% url 'account_settings' %}"><i class="fa fa-cog"></i> {% trans "Settings" %}</a>
 
        </li>
 
        <li>
 
            <a id="account_logout" href="{% url 'account_logout' %}"><i class="fa fa-power-off"></i> {% trans "Log out" %}</a>
 
        </li>
 
    {% else %}
 
        <li><a href="{% url 'account_login' %}">{% trans "Log in" %}</a></li>
 
        {% if ACCOUNT_OPEN_SIGNUP %}
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -8,12 +8,27 @@
 

	
 
{% block head_title %}Dashboard{% endblock %}
 

	
 
{% block body_class %}auth{% endblock %}
 

	
 
{% block body %}
 

	
 
    <div class="panel panel-default">
 
      <div class="panel-heading">
 
          <h3 class="panel-title">
 
              <i class="fa fa-user-o"></i>
 
              Account
 
          </h3>
 
      </div>
 
      <div class="panel-body">
 
        <li>
 
            <a href="{% url 'account_password' %}">{% trans "Change password" %}</a>
 
        </li>
 
      </div>
 
    </div>
 

	
 
    <div class="panel panel-default">
 
        <div class="panel-heading">
 
            <div class="pull-right">
 
                {% if not user.speaker_profile %}
 
                    <a href="{% url "speaker_create" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-plus-sign"></i> Create a speaker profile
...
 
@@ -91,13 +106,15 @@
 
                    {% endfor %}
 
                </table>
 
            {% endif %}
 
        {% endif %}
 
    </div>
 

	
 
{% comment %}
 
    {% include "registrasion/dashboard_widget.html" %}
 
{% endcomment %}
 

	
 
    <div class="panel panel-default">
 
        <div class="panel-heading">
 
            <div class="pull-right header-actions">
 
                {% if not user.sponsorships.exists %}
 
                    <a href="{% url "sponsor_apply" %}" class="btn btn-xs btn-default">
0 comments (0 inline, 0 general)