Skip to content

Commit

Permalink
templates/module_detail: pass initial_slide in link back to project
Browse files Browse the repository at this point in the history
  • Loading branch information
rine authored and hklarner committed Jul 11, 2023
1 parent 4850dfd commit 58dbb66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adhocracy-plus/templates/a4modules/module_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1 class="project-header__title">{{ project.name }}</h1>
<nav class="breadcrumbs u-spacer-bottom-double" aria-label="{% translate 'breadcrumbs' %}">
<ul>
<li>
<a href="{{ project.get_absolute_url }}">
<a href="{{ project.get_absolute_url }}?initialSlide={{ initial_slide }}">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
{{ project.name }}
</a>
Expand Down
3 changes: 3 additions & 0 deletions changelog/7428.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- pass initial_slide as url param when going back from module to project

0 comments on commit 58dbb66

Please sign in to comment.