Skip to content

Commit ddcfa3e

Browse files
Phillippafuzzylogic2000
authored andcommitted
footer: add org link to footer and make it like designs partially fixes #911
1 parent 336141c commit ddcfa3e

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

adhocracy-plus/assets/scss/components/_footer.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@
3535
color: $gray-lighter;
3636
}
3737

38+
.footer-upper__navbar-nav {
39+
flex-direction: row;
40+
flex-wrap: wrap;
41+
justify-content: space-evenly;
42+
43+
.nav-item {
44+
padding-right: $spacer;
45+
}
46+
}
47+
3848
.footer-upper__nav-link {
3949
display: inline;
4050
text-decoration-line: none;

adhocracy-plus/templates/footer_upper.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
</div>
88

99
<nav class="navbar navbar-expand-lg justify-content-center">
10-
<ul class="navbar-nav">
10+
<ul class="navbar-nav footer-upper__navbar-nav">
1111
<li class="nav-item">
12-
<span class="footer-upper__text pr-2">{{ ORGANISATION.name }}</span>
12+
{% url 'organisation' organisation_slug=ORGANISATION.slug as organisation_url %}
13+
<a href="{{ organisation_url }}" class="nav-link footer-upper__nav-link">{{ ORGANISATION.name }}</a>
1314
</li>
1415
<li class="nav-item">
1516
{% url 'organisation-imprint' organisation_slug=ORGANISATION.slug as organisation_imprint_url %}

apps/projects/templates/a4_candy_projects/project_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
{% block extra_messages %}
2525
<div class="u-bg-light py-5">
26-
<div class="container u-bg-light">
26+
<div class="container px-0 px-sm-3 u-bg-light">
2727
<div class="col-12 container--shadow">
2828
{{ block.super }}
2929

0 commit comments

Comments
 (0)