updated dashboard to allow sponsor details to be edited before approval
This commit is contained in:
parent
daff4020ea
commit
26f7503257
1 changed files with 23 additions and 22 deletions
|
@ -100,7 +100,6 @@
|
|||
</div>
|
||||
|
||||
<div class="dashboard-panel-content">
|
||||
<p>
|
||||
{% if not user.sponsorships.exists %}
|
||||
<p>If you or your organization would be interested in sponsorship opportunities, <a href="{% url sponsor_apply %}">use our online form to apply to be a sponsor</a>.
|
||||
{% else %}
|
||||
|
@ -108,19 +107,21 @@
|
|||
<ul>
|
||||
{% for sponsorship in user.sponsorships.all %}
|
||||
<li>
|
||||
{% if sponsorship.active %}
|
||||
<a href="{% url sponsor_detail sponsorship.pk %}"><b>{{ sponsorship.name }}</b></a>
|
||||
({{ sponsorship.level }})
|
||||
{% else %}
|
||||
<b>{{ sponsorship.name }}</b>
|
||||
({{ sponsorship.level }})
|
||||
{% if not sponsorship.active %}
|
||||
<span class="label label-warning">awaiting approval</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if user.is_staff %}
|
||||
<p>
|
||||
As staff, you can directly <a href="{% url sponsor_add %}">add a sponsor</a> if the organization isn't
|
||||
applying themselves.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue