Skip to content

Commit

Permalink
event approve text styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoglom committed Sep 13, 2015
1 parent eea6946 commit 29f19d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions intranet/static/css/events.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,9 @@ a.button.no-attend-button {
left: 0;
bottom: -23px;
}
}

.event-approve-table {
color: grey;
margin-bottom: 4px
}
6 changes: 3 additions & 3 deletions intranet/templates/events/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h3>
{% endif %}

{% if is_events_admin %}
<table style="color: grey">
<table class="event-approve-table">
<tr>
<td>
{% if not event.approved %}
Expand All @@ -80,13 +80,13 @@ <h3>
{% endif %}
</td>
<td>
{% if not event.rejected %}
{% if not event.approved %}
<form action="{% url 'events' %}" method="post">
{% csrf_token %}
<input type="hidden" name="reject" value="{{ event.id }}" />
<input type="submit" value="Reject" class="small-button" />
</form>
{% else %}
{% elif event.rejected %}
Rejected by {{ event.rejected_by.full_name }}.
{% endif %}
</td>
Expand Down

0 comments on commit 29f19d4

Please sign in to comment.