Ticket #3018 (closed Bug: fixed)

Opened 8 years ago

Last modified 3 years ago

Duplication CSS styles

Reported by: Anonymous User Owned by:
Priority: trivial Milestone: 2.1
Component: Templates/CSS Version:
Severity: Keywords:
Cc:

Description

Sample for undestanding. In templates /plone_templates/main_template /plone_tableless/main_template

Now

<div id="portal-footer" metal:use-macro="here/footer/macros/portal_footer"></div>

But in template /plone_templates/footer same construction <div id="portal-footer" metal:use-macro="here/footer/macros/portal_footer"></div>

We have not good construction for style (CSS) management <div id="portal-footer">

<div id="portal-footer"></div>

</div>

Better change in all temlates call of macro from <div id="foo" metal:use-macro= ...

to

<tal:block metal:use-macro=" ...

and all style (id and classes) define in macro modules

Change History

comment:1 Changed 7 years ago by limi

Yes, this should be made consistent.

comment:2 Changed 7 years ago by hannosch

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN for Plone 2.1.

comment:3 Changed 3 years ago by hannosch

  • Component changed from Visual and templates to Templates/CSS
Note: See TracTickets for help on using tickets.