openeuropa / oe_bootstrap_theme

Bootstrap-based theme
European Union Public License 1.2
6 stars 13 forks source link

Inconsistencies between card and card search variant pattern templates. #317

Closed kp77 closed 1 year ago

kp77 commented 1 year ago

The card pattern template is passing the attributes variable to the BCL component, while the search variant creates a new attributes object.

Also, this seems to have no consequenses, but would be nice to normalize the content and _content variable names in the two templates. Especially because the content variable is used inside the set content section in the card template, so using _content in both templates would be cleaner.