Skip to content

Commit

Permalink
Town6: Submissions for new entries
Browse files Browse the repository at this point in the history
Rearrange condition so enable_submissions gets checked

TYPE: Bugfix
LINK: OGC-1929
  • Loading branch information
BreathingFlesh authored Nov 28, 2024
1 parent db721e4 commit 0a2015d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/onegov/town6/templates/directory.pt
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@
</li>
</ul>
</div>

<div class="side-panel" tal:condition="directory.enable_update_notifications|False or directory.enable_submissions">
<div class="side-panel" tal:condition="directory.enable_submissions or directory.enable_update_notifications|False">
<h3 i18n:translate>Actions</h3>
<div class="side-panel-with-bg">
<ul class="more-list">
Expand All @@ -144,7 +143,7 @@
</a>
</li>
<li class="icon-item" tal:condition="directory.enable_submissions">
<a class="list-link multi-line" href="${submit}">
<a class="list-link" href="${submit}">
<i class="fa fa-folder-plus"></i>
<span class="list-title" i18n:translate>Propose a new entry</span>
</a>
Expand Down
1 change: 1 addition & 0 deletions src/onegov/town6/theme/styles/town6.scss
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ $pageref-color-hover: $iron;
.list-title::after {
opacity: 0;
transition: all 200ms linear;
position: absolute;
}

&:hover .list-link::after,
Expand Down

0 comments on commit 0a2015d

Please sign in to comment.