Changeset - 9c14b815c547
[Not reviewed]
0 1 0
Joshua Simmons - 7 years ago 2017-08-13 01:54:16
i@joshuasimmons.name
link directly to proposal submission form as there is only one proposal type
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -20,49 +20,49 @@
 
              Account
 
              <span class="pull-right">
 
                <i class="fa fa-user"></i> {% user_display request.user %}
 
              </span>
 
          </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
 
                    </a>
 
                {% else %}
 
                    <a href="{% url "speaker_edit" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-pencil"></i> Edit your speaker profile
 
                    </a>
 
                    <a href="{% url "proposal_submit" %}" class="btn btn-xs btn-default">
 
                    <a href="/proposals/submit/talk" class="btn btn-xs btn-default">
 
                        <i class="fa fa-plus-sign"></i> Submit a new proposal
 
                    </a>
 
                {% endif %}
 
            </div>
 
            <h3 class="panel-title">
 
                <i class="fa fa-bullhorn"></i>
 
                {% trans "Speaking" %}
 
            </h3>
 
        </div>
 

	
 
        <div class="panel-body">
 
            {% if not user.speaker_profile %}
 
                <p>To submit a proposal, you must first <a href="{% url "speaker_create" %}">create a speaker profile</a>.</p>
 
            {% else %}
 
                <h4>Your Proposals</h4>
 
                {% if not user.speaker_profile.proposals.exists %}
 
                    <p>No proposals submitted yet.</p>
 
                {% endif %}
 
            {% endif %}
 
        </div>
 
        {% if user.speaker_profile.proposals.exists %}
 
            <table class="table">
 
                <tr>
 
                    <th>Title</th>
0 comments (0 inline, 0 general)