Skip to content

Commit 240a737

Browse files
philli-mhom3mad3
authored andcommitted
templates/project_detail: add title to tab content fixes #5376
1 parent 007b2d5 commit 240a737

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

meinberlin/apps/projects/templates/meinberlin_projects/project_detail.html

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h1 class="title">{{ project.name }}</h1>
125125
aria-expanded="false"
126126
aria-hidden="true"
127127
aria-labelledby="tab-project-{{ project.pk }}-information">
128+
<h2>{% translate 'Information' %}</h2>
128129
<div class="ck-content">
129130
{{ project.information | transform_collapsibles | disable_iframes | richtext }}
130131
</div>
@@ -181,6 +182,7 @@ <h3>{% translate 'Responsible body' %}</h3>
181182
aria-expanded="true"
182183
aria-hidden="false"
183184
aria-labelledby="tab-project-{{ project.pk }}-participation">
185+
<h2>{% translate 'Participate' %}</h2>
184186
{% if event %}
185187
<article>
186188
<h2>{{ event.name }}</h2>
@@ -215,6 +217,7 @@ <h2>{{ event.name }}</h2>
215217
aria-expanded="false"
216218
aria-hidden="true"
217219
aria-labelledby="tab-project-{{ project.pk }}-result">
220+
<h2>{% translate 'Result' %}</h2>
218221
{% if project.result %}
219222
<div class="ck-content">
220223
{{ project.result | transform_collapsibles | richtext }}

meinberlin/assets/scss/components_user_facing/_tab.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Styling taken from BO button styling with some small adjustments
1+
// Styling taken from BO button element styling with some small adjustments
22
.tab__button {
33
min-height: 43px;
44
width: auto;

0 commit comments

Comments
 (0)