Skip to content

Commit c08d717

Browse files
committed
Rearrange Accounting section to be last
1 parent a43230c commit c08d717

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

_departments/accounting.html.twig

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends '_layouts/department-section.html.twig' %}
2+
{% from _self import accountingShared %}
23

34
{% set department = 'Accounting' %}
45

@@ -11,7 +12,7 @@ Associated Students (A.S.) provides funding for special projects, events, confer
1112
- Conference travel or travel relating to leadership training
1213
{% endblock %}
1314

14-
{% block reportBody %}
15+
{% macro accountingShared() %}
1516
<div class="row">
1617
<div class="col-lg-6 mb-5">
1718
<section class="text-center">
@@ -48,6 +49,10 @@ Associated Students (A.S.) provides funding for special projects, events, confer
4849
</section>
4950
</div>
5051
</div>
52+
{% endmacro %}
53+
54+
{% block reportBody %}
55+
{{ accountingShared() }}
5156

5257
<div class="row text-center">
5358
<div class="col-md-6 col-lg-4 mb-5 mb-lg-4">

_departments/student-leadership.html.twig

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends '_layouts/department-section.html.twig' %}
2+
{% from '_departments/accounting.html.twig' import accountingShared %}
23
{% from '_macros/row.html.twig' import row, figure_stacked, figure_horizontal %}
34

45
{% set department = 'Student Leadership' %}
@@ -33,6 +34,8 @@
3334
{% endmarkdown %}
3435
</section>
3536

37+
{{ accountingShared() }}
38+
3639
<section class="mb-5">
3740
<h3 class="t-2">Student Leaders</h3>
3841
<div class="row">

_pages/index.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ permalink: /
1616
<span class="sr-only">Return to departments list</span>
1717
</a>
1818

19-
{% include '_departments/accounting.html.twig' %}
2019
{% include '_departments/childrens-center.html.twig' %}
2120
{% include '_departments/outdoor-adventures.html.twig' %}
2221
{% include '_departments/productions.html.twig' %}
2322
{% include '_departments/sport-clubs.html.twig' %}
2423
{% include '_departments/student-leadership.html.twig' %}
2524
{% include '_departments/campus-recycling.html.twig' %}
2625
{% include '_departments/ticket-office.html.twig' %}
26+
{% include '_departments/accounting.html.twig' %}
2727
</div>
2828

2929
{% include '_sections/footer.html.twig' %}

_sections/table-of-contents.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</p>
77

88
{% set departments = [
9-
'Accounting',
109
"Children's Center",
1110
'Outdoor Adventures',
1211
'Productions',
1312
'Sport Clubs',
1413
'Student Leadership',
1514
'Sustainability and Recycling',
1615
'Ticket Office',
16+
'Accounting',
1717
] %}
1818
<div class="row text-center">
1919
{% for department in departments %}

0 commit comments

Comments
 (0)