Permalink
Browse files

styled proposals table

  • Loading branch information...
1 parent 65b1c23 commit 487cfbf3ce85494b92856dd01831c73a39f4f123 Yulka Plekhanova committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 symposion/templates/dashboard.html
@@ -51,10 +51,10 @@
<td><a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a></td>
<td>{{ proposal.kind.name }}</td>
<td>{{ proposal.get_audience_level_display }}</td>
- <td>{% if proposal.cancelled %}Cancelled{% else %}{% if request.user == proposal.speaker.user %}{% if proposal.result.accepted %}Accepted{% else %}Submitted{% endif %}{% else %}Associated{% endif %}{% endif %}</td>
+ <td>{% if proposal.cancelled %}<span class="label label-important">Cancelled</span>{% else %}{% if request.user == proposal.speaker.user %}{% if proposal.result.accepted %}<span class="label label-success">Accepted</span>{% else %}<span class="label">Submitted</span>{% endif %}{% else %}<span class="label">Associated</span>{% endif %}{% endif %}</td>
<td>{{ proposal.messages.all.count }}</td>
{# <td>{% if not proposal.cancelled %}{% if request.user == proposal.speaker.user %}<a href="{% url proposal_edit proposal.pk %}">Edit</a>{% endif %}{% if request.user == proposal.speaker.user %} | <a href="{% url proposal_cancel proposal.pk %}">Cancel</a>{% else %}<a href="{% url proposal_leave proposal.pk %}">Leave</a>{% endif %}{% endif %}</td> #}
- <td>{% if not proposal.cancelled %}{% if request.user == proposal.speaker.user and proposal.can_edit %}<a href="{% url proposal_edit proposal.pk %}">Edit</a> | <a href="{% url proposal_speaker_manage proposal.id %}">Add/Remove Speakers</a>{% endif %}{% endif %}</td>
+ <td>{% if not proposal.cancelled %}{% if request.user == proposal.speaker.user and proposal.can_edit %}<a href="{% url proposal_edit proposal.pk %}" class="btn btn-mini"><i class="icon-pencil"></i> Edit</a> <a href="{% url proposal_speaker_manage proposal.id %}" class="btn btn-mini"><i class="icon-user"></i> Add/Remove Speakers</a>{% endif %}{% endif %}</td>
</tr>
{% endfor %}
</table>

0 comments on commit 487cfbf

Please sign in to comment.