Skip to content

Commit

Permalink
News: Swap interchanged links for RSS feed and newsletter subscription
Browse files Browse the repository at this point in the history
TYPE: Bugfix
LINK: ogc-1763
  • Loading branch information
Tschuppi81 authored Jul 22, 2024
1 parent 6e7f24b commit e49eeb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ lint =
mypy =
dogpile.cache>=1.2.1
GitPython
mypy
mypy<1.11
sortedcontainers-stubs
sqlalchemy-stubs
types-babel
Expand Down
8 changes: 4 additions & 4 deletions src/onegov/town6/templates/news.pt
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
<h3 i18n:translate="">Subscribe</h3>
<ul class="more-list">
<li tal:condition="rss_link">
<a class="list-link" href="${layout.newsletter_url}">
<a class="list-link" href="${rss_link}">
<i class="fas fa-rss"></i> <span class="list-title" i18n:translate>Subscribe to RSS feed</span>
</a>
<a href="${layout.newsletter_url}">
<a href="${rss_link}">
<p class="list-lead preview" i18n:translate>RSS feed with your current selection of tags</p>
</a>
</li>
<li tal:condition="layout.org.show_newsletter">
<a class="list-link" href="${rss_link}">
<a class="list-link" href="${layout.newsletter_url}">
<i class="fa fa-envelope"></i> <span class="list-title" i18n:translate>Subscribe to newsletter</span>
</a>
<a href="${rss_link}">
<a href="${layout.newsletter_url}">
<p class="list-lead preview" i18n:translate>Receive the newsletter by email</p>
</a>
</li>
Expand Down

0 comments on commit e49eeb2

Please sign in to comment.