Wykres commitów

488 Commity (main)

Autor SHA1 Wiadomość Data
Matt Westcott 2e3b59c8c4 Remove legacy rich text image styles
The `<div class="rich-text">` wrapper around rich text was disabled by default in Wagtail 2.10 (https://docs.wagtail.io/en/stable/releases/2.10.html#div-class-rich-text-wrappers-removed-from-rich-text) and we'd prefer not to enable the legacy handler, to encourage Wagtail developers to follow current best practice.

There is already a `width: 100%` rule in place for all img elements, and since an image with `width: 100%` but no `height: auto` would render with the wrong aspect ratio, it's reasonable to assume that no images on the site rely on `height: auto` being absent. Adding this to the `img` rule therefore makes the `rich-text` rule redundant.

The `width: 100%` also meant that the left/right-alignment options for rich text images had no effect - we add a `width: 50%` to those to make them meaningful again.

Finally, the responsive-object wrapper for media embeds was dropped in 2.9, so those rules are unused since then. Anyone who feels strongly about restoring responsive embeds is welcome to contribute a PR :-)
2020-08-26 10:20:36 +10:00
Matt Westcott 1fa7cdccd2 populate FormField.clean_name in initial data 2020-08-17 12:20:47 +01:00
Cynthia Kiser 5d255cd535 upgrade to Wagtail 2.10 2020-08-17 11:43:18 +01:00
Cynthia Kiser d9d02d9317 Add an example local.py for use with docker-wagtail-develop 2020-08-04 14:28:28 +01:00
Karl Hobley 82cbbfb09b Minor spelling fixes in fixture 2020-07-06 09:33:46 +01:00
Thibaud Colas 2ec4475f75
Allow all hosts to simplify cross-browser testing (#268) 2020-06-04 15:50:54 +01:00
jonndoe 20fdd22226 height :auto, for displaying images without distortion. 2020-05-11 21:51:41 +01:00
Thibaud Colas 30dcfd4dfd Remove useless "content" styles 2020-05-07 21:33:44 +01:00
Thibaud Colas fa35309371 Remove unneeded style override for nav pills items 2020-05-07 21:33:44 +01:00
Thibaud Colas 40faa0a16d Remove unnecessary flex for no-gutters 2020-05-07 21:33:44 +01:00
Thibaud Colas 2ed2d9408c Reset form elements border regardless of viewport 2020-05-07 21:33:44 +01:00
Thibaud Colas 9490524008 Make whole bread list item a link 2020-05-07 21:33:44 +01:00
Thibaud Colas e2c6f3b09e Change selectors to make !important unnecessary 2020-05-07 21:33:44 +01:00
Thibaud Colas cf81da5db4 Clean up input width definitions 2020-05-07 21:33:44 +01:00
Thibaud Colas cb271fc3ae Fix off-by-one media utility media query 2020-05-07 21:33:44 +01:00
Edd Baldry a4f8d887ea Adds 1px border to form page input fields on mobile touch #139 2020-05-07 21:33:44 +01:00
Edd Baldry dd7bb19afe Amend mobile menu to not display child items 2020-05-07 21:33:44 +01:00
Edd Baldry 4760216ec8 Add global mobile menu style 2020-05-07 21:33:44 +01:00
Edd Baldry 6afa3127a1 Amend mobile styles for global hero, main menu, breads index, locations index and breads detail page 2020-05-07 21:33:44 +01:00
Edd Baldry 53fe8e8e6d Wrap elements with 12-col div as per other detail pages 2020-05-07 21:33:44 +01:00
Edd Baldry fadcc373f5 Use consistent hero image include 2020-05-07 21:33:44 +01:00
Matt Westcott 3372510e60 Remove use of request.site / SiteMiddleware 2020-05-05 12:27:58 +01:00
Matt Westcott 5dd8afb3d3 Update API imports for Wagtail 2.8 2020-02-11 09:43:45 +00:00
Matt Westcott de6876d452 Upgrade whitenoise to 5.0.x for Django 3.0 compatibility 2020-02-03 16:33:42 +00:00
Andy Babic ef50e188e1 Use search_fields and list_filter on ModelAdmin classes to make features easier to test (for things like accessibility) (#262) 2020-01-23 15:34:45 +00:00
Caitlin White 48ed8a06e7 Make site work offline by self-hosting webfonts, jQuery, Bootstrap etc. (#261)
* Self-host Bootstrap and jQuery

* Self-host Google fonts (via https://google-webfonts-helper.herokuapp.com/fonts)

* Use wagtailfontawesome package for Font Awesome Icons on front end

* Self-host HTML5 Shiv and Respond.js

* Add Bootstrap Glyphicons font files and change name of static fonts directory
2019-11-06 09:10:39 -05:00
Tobias McNulty d06f1d0f97
copy files from fixtures dir to MEDIA_ROOT (or remote storage) during load_initial_data (#255)
Note: This change will require any existing deployments to manually copy
bakerydemo/base/fixtures/media/original_images/ into bakerydemo/media/
2019-11-05 21:29:52 -05:00
Tobias McNulty d5d81129a1
fix class path for S3Boto3Storage (#260) 2019-10-19 18:58:09 -04:00
Tobias McNulty 02737b411b
add support for Google Cloud Storage (#256) 2019-10-19 18:57:43 -04:00
Tobias McNulty 7ee23ded4c add flake8 and fix a few formatting bugs 2019-09-12 16:04:38 +01:00
Tobias McNulty cab9e25474 add missing migration and check for them via Travis in the future 2019-09-12 16:02:59 +01:00
Matt Westcott 55db9f3e15 Remove redundant head-extra block from head.html
Fixes #248 - thanks to @linuxsoftware for the report.
2019-09-12 13:10:39 +01:00
Rupa Lahiri 47b883a4a4 Move demo app features from about page to readme. Fix #247 (#249) 2019-09-10 10:29:40 +01:00
Dan Swain 8e6dde3f03
Keep the year set to the current year 2019-07-27 13:32:16 -04:00
Karl Hobley 70ea9b1fae Update to boto3
This fixes S3 support
2019-07-25 12:22:46 +01:00
Chris 31c610316d Correct the html element main
Correct the HTML5 element 'content' to 'main'. 'content' is obsolete and wasn't meant to be used in ordinary HTML. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content
2018-11-29 15:52:45 +00:00
David Ray de9cddd1fe Fixes #214 2018-07-23 18:32:51 +02:00
Matt Westcott 1fdf3411db Fix overlapping panels on Person name fields. Fixes #209 2018-07-15 10:17:30 +02:00
Paolo Dina 742448dcdd Fix search in People snippet. Fixes #205 2018-06-04 09:00:47 +01:00
Matt Westcott 0f11e0f208 Enable API 2018-05-29 09:44:04 +01:00
Matt Westcott 568588591a Enable sitemap 2018-05-29 09:44:04 +01:00
Matt Westcott 1aea7bca75 Fix image dimensions / file sizes in fixtures. Fixes #195 2018-05-22 20:44:48 +01:00
Matt Westcott df1257ef2b Use url_path to check for descendant pages in navigation tags
This ensures that they continue working on pages that have no routable URL. Fixes #180
2018-05-22 20:18:36 +01:00
J Rob Gant fd37ac9310 Remove _lpchecked and empty id attributes 2018-05-22 20:07:05 +01:00
J Rob Gant 51db5176b0 Standardize PROJECT_DIR and BASE_DIR with Django defaults. 2018-05-22 20:01:10 +01:00
Matt Westcott 261c1ee23f Upgrade to Wagtail 2.1 2018-05-22 20:01:10 +01:00
Matt Westcott 9729468676 Use new Wagtail 2.0 module paths 2018-03-01 12:10:25 +00:00
blgo 1d89b7ab76 Fix broken link to 'Getting started' page in sample about page 2018-02-27 10:40:10 +00:00
Matt Westcott 0565aaeeba
Add routablepage to INSTALLED_APPS
As per discussion on https://github.com/wagtail/wagtail/issues/4258
2018-02-10 21:42:39 +00:00
LB (Ben Johnston) 02710075ae Add support for tags with multiple words
Fixes issue where `my-blog/tags/multi-word-tag` would result in a 404, even if there was a valid tag slug for `mult-word-tag`
2018-02-06 14:28:09 +00:00
Matt Westcott 45665ab74d Gracefully handle missing hero_cta_link 2018-01-30 20:08:20 +00:00
Matt Westcott f5ee393957 Set site name to Wagtail Bakery
'Main' isn't really suitable as a site name, because it results in a limited-permission user (e.g. an editor with edit permission on the Blog section only) receiving the welcome message "Welcome to the Main Wagtail CMS".
2018-01-17 16:50:56 +00:00
Matt Westcott 6bfecb456f Django 2.0 compatibility fixes 2018-01-17 16:50:23 +00:00
Matt Westcott c60a6129ee Delete default homepage/site records _before_ loading fixture
Deleting them after loading means that the 'numchild' field of the root node (which the fixture correctly gives as 1, corresponding to the bakerydemo homepage) is wrongly decremented to zero, causing the page chooser modal to break (because it thinks root is a leaf node).
2017-11-13 20:15:25 +00:00
Matt Westcott af6c4953bc Remove erroneous index.SearchField('title') entries from search_fields
title is already included in Page.search_fields, so adding it again A) is redundant and B) makes it fail when run against Elasticsearch, due to the two occurrences having different indexing parameters.
2017-11-13 20:15:13 +00:00
Matt Westcott 4079bff981 Remove API v1
This is being removed in Wagtail 2.0.
2017-10-31 14:50:05 +00:00
Matt Westcott 0afd24a0e5 Fix numchild value on root page
When set to 0, the homepage fails to appear in the explorer listing when viewing the root (because Treebeard thinks root is a leaf node and so doesn't bother querying the database for get_children).
2017-10-11 14:26:31 +01:00
Tobias McNulty 1f94861634 add support for CACHE_URL 2017-10-04 18:03:14 -04:00
Tobias McNulty 0133a5a125 switch to the now-released aws-requests-auth==0.4.0 for authenticating requests to Elasticsearch, and upgrade to latest 2.x.x release of elasticsearch-py per https://elasticsearch-py.readthedocs.io/en/master/#compatibility 2017-09-14 18:21:49 -04:00
Tobias McNulty 6e89be1e0b correct "You search for..." text and formatting on search results page 2017-09-01 20:15:48 -04:00
Tobias McNulty f113974ade add (optional) support for Elasticsearch 2017-09-01 19:01:06 -04:00
Mikalai Radchuk 226cfcfbb2 Generate a migration after upgrade to Wagtail 1.12 2017-08-23 13:22:14 +01:00
Mikalai Radchuk e44cf67a8e Upgrade Wagtail to 1.12 2017-08-23 11:28:45 +01:00
David Ray a273f28422 Merge pull request #145 from wagtail/142_routable
Fix preview functionality on BlogIndex when route methods are present
2017-05-01 05:53:58 -04:00
Scot Hacker cd3e4b27c7 Update json dump - one blog page was missing a required image and wouldn't validate on publish 2017-04-23 13:15:53 -07:00
Scot Hacker 8366ec6d79 Fix preview functionality on BlogIndex when route methods are present
Resolves #142
2017-04-23 13:12:27 -07:00
Scot Hacker 8818449b6b Merge pull request #137 from wagtail/135-homepage-list-regression
Fix li regression on homepage
2017-04-02 23:30:23 -07:00
Edd Baldry 8f9783ab2b Add favicon and remove unused images from static img folder 2017-04-02 17:09:09 +01:00
Edd Baldry 58852c4f70 Separate declarations for homepage featured-child list items to remove styling regression 2017-04-02 16:12:50 +01:00
Scot Hacker f5a86c29a9 Data loader removes auto-generated Site and Page 2017-04-01 10:30:59 -07:00
Scot Hacker dc5a672460 Fix dump data export path, data loadable by both sqlite and postgres
- Includes dump_data recipe in readme for future use
2017-04-01 09:56:34 -07:00
Scot Hacker 57d217f143 Export/import compatibility with postgres
- Fix import path
- Also adds two additional author profiles
- Remove some old fixtures
2017-04-01 00:45:53 -07:00
Scot Hacker 3930016207 Add uploaded original_images
- Width-limited to 1200px
- Run through ImageOptim
2017-03-31 00:09:37 -07:00
Scot Hacker 73532a5b98 Merge pull request #129 from wagtail/128-homepage-stretching
Remove homepage image stretching
2017-03-30 22:57:55 -07:00
Scot Hacker 6f03170d8d Merge pull request #127 from wagtail/126-list-regression
List regression on homepage
2017-03-30 08:31:18 -07:00
Scot Hacker a66a63bfc0 Merge pull request #122 from wagtail/120-improve-inline-comments
Improve inline comments
2017-03-30 08:28:29 -07:00
Edd Baldry 863a419981 Use cropped fill rather than relative width for homepage images. Closes #128 2017-03-30 12:41:14 +01:00
Edd Baldry 00549bd506 Merge master. Resolve merge conflicts 2017-03-30 12:33:21 +01:00
Edd Baldry f4ca81d863 Amend models based on @shaker comments 2017-03-30 12:29:23 +01:00
Edd Baldry 9cd39c3d83 Merge pull request #125 from wagtail/88_pep8
PEP-8 and template cleanup
2017-03-30 08:49:18 +01:00
Edd Baldry e5ded7b8d3 Explicitly sets list-style none for li items on homepage 2017-03-29 19:31:18 +01:00
Edd Baldry ddf89a1a56 Merge master. Resolve merge conflicts 2017-03-29 13:28:30 +01:00
Scot Hacker 7c79832caf PEP-8 and template cleanup
- Resolves #88
2017-03-29 00:40:11 -07:00
Scot Hacker 593f20735a Add missing migrations 2017-03-28 17:57:22 -07:00
Edd Baldry 27eeaddf06 Amend the attribute name example within admin for BlockQuote 2017-03-28 16:18:41 +01:00
Edd Baldry d7daf945b7 Override Boostrap CSS's blockquote footer:before attribute 2017-03-28 16:18:14 +01:00
Edd Baldry a08ed3b9c3 Incorporate Tom comments. Change v1.9 to latest throughout 2017-03-28 10:18:14 +01:00
Edd Baldry 326d11b181 Merge master and resolve merge conflicts 2017-03-28 10:11:13 +01:00
Edd Baldry c00a721bde Minor amend for base models.py to bring brackets to new lines 2017-03-28 08:54:42 +01:00
Edd Baldry e77d7313bb Further inline comments on bread model 2017-03-28 08:41:07 +01:00
Edd Baldry a257677a1a Inline comments for locations model 2017-03-28 08:16:20 +01:00
Edd Baldry d85e2b935e Inline comments for blogs 2017-03-27 22:01:43 +01:00
Edd Baldry 0a237c36b9 Limit line-length on base/models.py 2017-03-27 21:13:31 +01:00
Edd Baldry 13e3a52041 Inline comments for the breads model 2017-03-27 19:24:34 +01:00
Edd Baldry a435a1971b Inline comments for the base model 2017-03-27 19:24:19 +01:00
Edd Baldry 07fc53a0ad Removing unused JS files 2017-03-27 18:08:57 +01:00
Edd Baldry 6fb813ce57 Remove references to unused clean-blog.css and .js 2017-03-27 18:08:00 +01:00
Edd Baldry af33471f64 Better organise CSS file, including removal of unnecessary vendor prefixes, alphabetilising properties, giving index 2017-03-27 17:30:04 +01:00
Edd Baldry e05a34dab4 Re-order admin panels to be intro, image then body on models 2017-03-27 12:18:27 +01:00
Scot Hacker 095a98d7e6 Remove BasePageFieldsMixin
- Return to explicit fields everywhere
2017-03-26 15:29:54 -07:00
Scot Hacker 6c919e0736 Merge pull request #113 from wagtail/110_rem_maplinks
Remove map links from Locations index
2017-03-24 00:20:02 -07:00
Scot Hacker 4fa37f8640 Location external map target = blank
- Rather than remove
2017-03-24 00:19:28 -07:00
Scot Hacker aebef19229 Merge pull request #112 from wagtail/111_rem_body_locations
Remove body from content_panels on LocationPage
2017-03-23 23:50:07 -07:00
Edd Baldry bd98f2bc02 Minor. Remove duplicate li.gallery declaration 2017-03-23 23:01:44 +01:00
Edd Baldry c72b6633d2 Stop pixel shift on hover in main navigation nav-pills 2017-03-23 22:57:27 +01:00
Edd Baldry 715b0d466e Include body on form page. Increase margin of form-page fieldWrapper elements 2017-03-23 22:38:05 +01:00
Edd Baldry 5bedb99bbf Merge branch 'master' into dutch-amendments 2017-03-23 22:30:31 +01:00
Edd Baldry e10a76df18 Stop first breadcrumb item being tied to homepage title 2017-03-23 15:12:33 +01:00
Edd Baldry dc4c6b1d33 Correcting alignment of main navigation 2017-03-23 14:57:59 +01:00
Edd Baldry 0733a0bee6 Account for multiple authors in styling 2017-03-23 14:46:46 +01:00
Edd Baldry 6dd68e1b22 Consolidate date published and author into single loop on blog. Style avatar 2017-03-23 14:42:17 +01:00
Edd Baldry 436b3b21a8 Stop footer richtext field escaping parent element 2017-03-23 14:25:22 +01:00
Edd Baldry ca5139240a Remove links from gallery images 2017-03-23 14:19:40 +01:00
Scot Hacker 6ddf4a3e23 Indentation 2017-03-23 00:39:05 -07:00
Scot Hacker aee0f5bcad Remove map links from Locations index
- Maps are already in location detail views - these lead readers out rather than in
2017-03-23 00:23:47 -07:00
Scot Hacker bb774cd119 Remove body from content_panels on LocationPage 2017-03-23 00:19:07 -07:00
Scot Hacker 98c5c8a2ae Merge pull request #107 from wagtail/106-list-style-error
Specify li for form-page
2017-03-17 08:30:23 -07:00
Edd Baldry 964c1e3a2e Correctly specify li for form-page fixes #106 2017-03-17 10:42:44 +00:00
Scot Hacker 97774b165d Indentation 2017-03-17 00:07:08 -07:00
Scot Hacker 9147b0c65d Merge pull request #105 from wagtail/103-footer-icon
Add links to footer and remove Facebook
2017-03-16 16:26:23 -07:00
Edd Baldry 6306daad42 Add urls to footer icons. Change facebook for link to website. Closes #103 2017-03-16 19:42:02 +00:00
Edd Baldry 8e6c5e62c0 Aria roles and labels across templates. closes #72 2017-03-15 21:25:44 +00:00
Scot Hacker d6643c2bc9 Squash all migrations as if initial 2017-03-15 00:19:01 -07:00
Scot Hacker 4a666b44c9 Move Google Maps API key into settings
Resolves #101
2017-03-14 23:54:42 -07:00
Scot Hacker 2e1f70ab95 Move DAY_CHOICES out of class for re-usability 2017-03-14 23:48:11 -07:00
Scot Hacker d11f89c2da Merge pull request #93 from wagtail/86-adjust-operating-hours-choices
Tweak choices definitions for Operating Hours
2017-03-14 23:44:08 -07:00
Edd Baldry 544d543fa4 Merge pull request #97 from wagtail/95_fix_cta_link
Fix link to Hero CTA from homepage
2017-03-14 20:34:51 +00:00
Edd Baldry e0d2225705 Merge pull request #98 from wagtail/96_hp_link
Link site title in masthead to homepage
2017-03-14 20:30:25 +00:00
Edd Baldry 9b8d43d7a0 Merge pull request #100 from wagtail/35_todos
Remove todo comments that don't need doing
2017-03-14 20:28:56 +00:00
Scot Hacker eaf80249c1 Remove todo comments that don't need doing
- Mostly an indentation tweak
2017-03-08 00:58:57 -08:00
Scot Hacker 110e9bc742 Spell out CTA in help_text 2017-03-08 00:38:27 -08:00
Scot Hacker c1b976bfdf Spell out CTA in help_text 2017-03-08 00:35:28 -08:00
Scot Hacker 08bb41f5ee Link site title in masthead to homepage
- Also convert 2 space indent to 4 space
2017-03-08 00:28:37 -08:00
Scot Hacker fb7fd33150 Fix link to Hero CTA from homepage 2017-03-08 00:19:40 -08:00
Scot Hacker 84b82f117d Fix default day choice in Locations 2017-03-08 00:08:31 -08:00
Scot Hacker 98cb4f1014 Remove duplicate DAY choices
- Also shorten choice keys to 4 chars since field limits to 4 chars
2017-03-08 00:07:26 -08:00
David Ray d520ca4075 Fixes #86; tweak choices definitions for Operating Hours 2017-03-06 05:08:49 -05:00
David Ray 063b646e6f address missing import, merge migrations 2017-03-06 05:02:07 -05:00
David Ray 2070b0a8aa Merge pull request #87 from wagtail/78_standardpage
Clean up relations between BasePageFieldsMixin, StandardPage
2017-03-06 04:58:33 -05:00
Scot Hacker efb2516bcf Don't show `body` content panel on index pages 2017-03-05 18:31:05 -08:00
Scot Hacker 6cd66ade57 Remove futuristic migration 2017-03-03 17:54:01 -08:00
David Ray a5c86db42b merge migrations 2017-03-03 19:54:21 -05:00
David Ray c3ddf93b6a Merge pull request #80 from wagtail/58-homepage-style
Homepage style
2017-03-03 19:19:12 -05:00
David Ray 2575b46397 Merge pull request #91 from wagtail/90-blog-page-inconsistency
Blog page inconsistency
2017-03-03 19:18:25 -05:00
David Ray daf4948516 Merge pull request #89 from wagtail/85-remove-junk-html
Remove unused template from templates/blocks
2017-03-03 19:13:02 -05:00
Edd Baldry 0249bc8f91 Amend blog page to have col-8 without offset. Add conditional if date not set by user. Workson #90 2017-03-03 18:52:48 +00:00
Edd Baldry 1a7345cd96 Add subtitle to hero include. Workson #90 2017-03-03 18:52:12 +00:00
Edd Baldry ef27a1e711 Remove unused template. Works on #85. 2017-03-03 15:35:09 +00:00
Scot Hacker 4a8ac9504a Remove old AboutPage model 2017-03-03 00:32:19 -08:00
Scot Hacker c4823a6fcb Move body field from most models and into BasePageFieldsMixin 2017-03-03 00:05:20 -08:00
Edd Baldry 9e0124c040 Blockquote tags on blockquote element. Workson #82. 2017-03-02 17:58:14 +00:00
Edd Baldry 118abaf170 Improved mobile styling for feature-2 and feature-3 blocks 2017-03-01 22:36:39 +00:00
Edd Baldry c3060a8736 Styling of feature-2 and feature-3 on homepage. Workson #58 2017-03-01 22:21:35 +00:00
Edd Baldry 5e3591aa98 Styling promo panel and featured articles 1. Workson #58 2017-03-01 21:53:46 +00:00
Edd Baldry 3e1a3632f4 Styling homepage hero section. Workson #58 2017-03-01 20:31:59 +00:00
Edd Baldry 1bd97ee2e1 Homepage template and initial styling. Workson #58. 2017-02-28 22:32:34 +00:00
Edd Baldry 5cc612b6ab Add function on IndexPage models to return children. Workson #58 2017-02-28 17:38:47 +00:00
Edd Baldry eca02103cd Change to homepage model for styling. Workson #58. 2017-02-28 17:27:58 +00:00
Scot Hacker aba7aebf05 Add missing merge migration 2017-02-28 08:19:57 -08:00
Edd Baldry 1696ac1b1b Merge master with about page style. Workson #15 2017-02-28 07:50:35 +00:00
David Ray bf83e01414 Merge pull request #77 from wagtail/sh_rem_aboutlocations
Remove  aboutlocations
2017-02-28 02:31:38 -05:00
Scot Hacker 3e1263d960 Remove AboutLocationRelationship model
- Overlaps with functionality of Locations view
- Resolves #54
2017-02-27 23:15:56 -08:00
Edd Baldry f3c4d2ebb1 Better image handling on generic header include. Workson #75 2017-02-28 06:54:15 +00:00
Edd Baldry c890bb72c8 About template styling and amended header include. Workson #75 2017-02-28 06:49:28 +00:00
Edd Baldry 2dda668db2 Use hero title include. Add conditionals to include where no image set. Workson #15 2017-02-27 22:20:52 +00:00
Edd Baldry 600bfc482d Amend form model to name imagefield image. Workson #15. 2017-02-27 22:20:11 +00:00
Edd Baldry a870eb57ad Initial styling form success page. Workson #15. 2017-02-27 22:00:12 +00:00
Edd Baldry 268228dc31 Merge master to 15-style-formpage branch. Including bread styles. Workson #15. 2017-02-27 21:49:38 +00:00
Edd Baldry 1f222d9f8b Initial styling of form page. Workson #15 2017-02-27 17:54:12 +00:00
Edd Baldry f80b4a443c Consistent use of page.foo rather than self.foo on breadpage. Workson #57 2017-02-27 08:12:52 +00:00
Edd Baldry 3b221e2ef2 Removing commented code on bread page template. Workson #57 2017-02-26 18:35:56 +00:00
Edd Baldry 16eb8374c2 Breadpage image same asset on mobile and desktop. Works on #57 2017-02-26 18:31:48 +00:00
Edd Baldry 283422956f Handle large images on bread detail page. Workson #57 2017-02-26 18:25:00 +00:00
Edd Baldry 81cd0ebeb9 Two col design for bread detail page. Workson #57 2017-02-26 18:02:11 +00:00
Edd Baldry dc561bedb3 Merge branch '57-styling-bread' of github.com:wagtail/bakerydemo into 57-styling-bread. Workson #57. 2017-02-25 19:23:02 +00:00
Edd Baldry bb2c926729 Add bread index page template styling conditionals for optional fields. Workson #57 2017-02-25 19:22:41 +00:00
David Ray 73720ce050 Update property to method and adjust calls to invoke the method 2017-02-25 14:08:31 -05:00
Edd Baldry ff20327de1 Merge branch 'master' into 57-styling-bread. Workson #57. 2017-02-25 19:03:55 +00:00
Edd Baldry df3a587083 Finish styling index page. Works on #57 2017-02-25 18:55:53 +00:00
Edd Baldry 684023cbd3 List 12 breads per page. Works on #57 2017-02-25 18:55:28 +00:00
David Ray 619ceb6406 wrap ingredients field within a collapsible multi field paenl 2017-02-25 03:53:31 -05:00
Edd Baldry 686d5446b8 Remove commented out code. Works on #57 2017-02-24 22:07:47 +00:00
Edd Baldry e96591d5f9 Separating pagination from context on model. Introduce pagination on template. Works on #57 2017-02-24 22:03:50 +00:00
Edd Baldry b9f4661b0f Initial styling of bread index page. Workson #57 2017-02-24 17:36:57 +00:00
David Ray af0ab93980 Fixes #64; add M2M example for bread model 2017-02-24 05:57:46 -05:00
David Ray 1e710543a2 Merge pull request #69 from wagtail/63_posts
Rename blogs method to get_posts; simplify list comprehensions
2017-02-24 04:03:35 -05:00
Scot Hacker e198892b49 Merge pull request #67 from wagtail/37-sqlite-path
Place sqlite file in conventional PROJECT_ROOT path
2017-02-23 23:51:06 -08:00
Scot Hacker 92df81d8a2 Simplify list comprehensions when getting all tags for children of BlogPage 2017-02-23 23:45:03 -08:00
Scot Hacker 07e6823751 Rename blogs method to get_posts; tweak indentation 2017-02-23 23:31:23 -08:00
Edd Baldry 45288f2103 Style tags on blog index page. Style tag pages. Minor height tweak on cards 2017-02-23 22:21:01 +00:00
Edd Baldry 6fb5c65344 Merge branch '62-blog-index-styling' of github.com:wagtail/bakerydemo into 62-blog-index-styling 2017-02-23 21:24:27 +00:00
Edd Baldry cdb3585b26 Merge branch 'master' into 62-blog-index-styling 2017-02-23 21:02:45 +00:00
David Ray c4d05b43c6 Add helper metrhod to get all BlogIndexPage's child BlogPage's tags 2017-02-23 13:45:45 -05:00
Edd Baldry b70e8aa92a Adding conditional if uploaded image is too small 2017-02-23 16:50:24 +00:00
David Ray fdc597aa18 Fixes #37, place sqlite file in PROJECT_ROOT 2017-02-23 04:37:19 -05:00
Scot Hacker 7837f32e09 Link gallery images to the pages they're first used in 2017-02-22 22:46:39 -08:00
Scot Hacker 953e64b4d9 PEP-8 2017-02-22 22:46:14 -08:00
Edd Baldry c2a12194d6 Equal height cards. Correcting image width. 2017-02-22 22:36:58 +00:00
Edd Baldry f61be1f1f5 Initial styling of blog index page 2017-02-22 21:47:08 +00:00
David Ray cfa0a868eb Merge pull request #55 from wagtail/22_modeladmingroup
Refactor WagtailBakery admin menu item(s)
2017-02-22 11:56:28 -05:00