Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Mar 2014 at 22:12 UTC
Updated:
29 Jul 2014 at 23:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
filijonka commentedComment #3
star-szrThanks @filijonka. A couple things:
I think we should split out the items and make a sublist to show more obviously that items contains 'attributes' and 'value'. Check node-add-list.html.twig for a somewhat similar example.
The first line of the comment goes over 80 characters, see https://drupal.org/node/1354#drupal.
Comment #4
filijonka commentedthanks for the feedback @cottser
Comment #5
filijonka commentedComment #6
star-szrThanks, looking better! A few things:
'items' is just an array, not a render array. So we shouldn't say it contains renderable items. I suggest something along these lines:
"A list of items. Each item contains:"Then for the sub-elements, each of those needs to be a complete sentence (ends in a period) per https://drupal.org/node/1354#general. Other than that looks pretty good to me :)
Comment #7
filijonka commentedComment #8
star-szrI don't think we should have the same documentation for these two variables because they are quite different. One is for the ul/ol and one is for the li. I think this is looking good otherwise :)
Comment #9
filijonka commentedehm that was odd, i thought i wrote listelement on the the first one, would that be alright? i.e HTML attributes to be applied to the listelement
Comment #10
acouch commentedAttached is updated wording:
Comment #11
acouch commentedComment #12
filijonka commentedthanks acouch
Comment #13
alexpottCommitted 98b2898 and pushed to 8.x. Thanks!
Comment #16
filijonka commented