Skip to content

Commit eda3513

Browse files
committed
Fix css for review state page
1 parent e478654 commit eda3513

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

junction/templates/proposals/dashboard.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@
7272
<tr>
7373
<td></td>
7474
<td>{{total}}</td>
75-
<td>{{reviewed}}</td>
76-
<td>{{unreviewed}}</td>
75+
<td><a href="{% url 'proposal-state' conference.slug%}?q=reviewed">
76+
{{reviewed}}</a></td>
77+
<td><a href="{% url 'proposal-state' conference.slug%}?q=unreviewed">
78+
{{unreviewed}}</a></td>
7779
</tr>
7880
</table>
7981
</div>
@@ -95,10 +97,8 @@
9597
<tr>
9698
<td>{{count.3}}</td>
9799
<td><a href="{% url 'proposals-list' conference.slug%}?proposal_type={{group}}"> {{count.0}}</a></td>
98-
<td><a href="{% url 'proposal-state' conference.slug%}?q=reviewed">
99-
{{count.1}}</a></td>
100-
<td><a href="{% url 'proposal-state' conference.slug%}?q=unreviewed">
101-
{{count.2}}</a></td>
100+
<td>{{count.1}}</td>
101+
<td>{{count.2}}</td>
102102
</tr>
103103
{% endfor %}
104104
</table>

junction/templates/proposals/review_state.html

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,28 @@
5252
</div>
5353
</div>
5454

55-
<div class="row">
56-
<div class="col-xs -6 col-sm-6 ">
57-
<div class="panel panel-primary">
58-
<div class="panel-heading"> {{ state }} proposals</div>
59-
<div class="panel-body">
60-
{% for section, proposal_list in proposals.items %}
61-
<h3 class="section-title">{{ section }}</h3>
62-
{% for proposal in proposal_list %}
63-
<h4 class="proposal--title">
64-
<a href='{{ proposal.get_absolute_url }}'>{{ forloop.counter}}. {{ proposal.title|capfirst }}</a>
65-
- {{ proposal.proposal_type }}
66-
</h4>
67-
{% endfor %}
55+
<section class="content custom-container proposal-list">
56+
<div class="push-4-bottom push-1-top">
57+
<div class="row">
58+
<div class="col-xs -12 col-sm-12 ">
59+
<p class="meta">
60+
<h2 class="panel-heading">{{ state }} proposals</h2>
61+
</p>
6862
<hr>
69-
{% endfor %}
63+
<div class="#proposals" class="row"">
64+
{% for section, proposal_list in proposals.items %}
65+
<h3 class="section-title">{{ section }}</h3>
66+
{% for proposal in proposal_list %}
67+
<h4 class="proposal--title">
68+
<a href='{{ proposal.get_absolute_url }}'>{{ forloop.counter}}. {{ proposal.title|capfirst }}</a>
69+
- {{ proposal.proposal_type }}
70+
</h4>
71+
{% endfor %}
72+
<hr>
73+
{% endfor %}
74+
</div>
7075
</div>
7176
</div>
7277
</div>
73-
</div>
74-
75-
</div>
7678
</section>
7779
{% endblock %}

0 commit comments

Comments
 (0)