Skip to content

Commit

Permalink
final updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiessfelt, Katie committed Oct 2, 2024
1 parent d4c6493 commit 8760e0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion castle/cms/tiles/querylisting.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class TiledView(BaseTileView):

class FullContentView(BaseTileView):
name = 'full-content'
label = 'Full content'
label = 'Full Webpage'
preview = '++plone++castle/images/previews/querylisting/full-content.png'
order = 3
index = ViewPageTemplateFile('templates/querylisting/full-content.pt')
Expand Down
8 changes: 4 additions & 4 deletions castle/cms/tiles/templates/querylisting/full-content.pt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
<div tal:replace="structure python: utils.focal_image_tag(item, 'mini', attempt_overlay=True)"></div>
</a>
</div>
<div class="col-lg-10 col-md-9 col-sm-8"
<h2 class="fullcontent-title">
<a href="${url}">${item/Title}</a>
</h2>
<div class="col-lg-10 col-md-9 col-sm-8"
tal:attributes="class python: has_image and 'col-md-9' or 'col-md-12'">
<p class="pat-moment date" tal:content="python: utils.format_date(effective, 'notime')"
tal:condition="python: 'date' in df and utils.valid_date(effective)"></p>
Expand All @@ -27,9 +30,6 @@
<span class="pat-moment date" tal:condition="python: start.date() <> end.date()"
tal:content="python: utils.format_date(end)"></span>
</p>
<h2 class="fullcontent-title">
<a href="${url}">${item/Title}</a>
</h2>
<div class="full-content"
tal:on-error=""
tal:condition="item/querylist_searchabletext"
Expand Down

0 comments on commit 8760e0e

Please sign in to comment.