I need to split up the left bar in a separate
patternLeftBarPersonal
div and a remaining
patternLeftBar
(the rest of the left bar below the personal side bar) to be able to give
patternLeftBarPersonal
its own margins.
Old scenario:
-
twiki.pattern.tmpl
inside %TMPL:DEF{"leftbar"}%
does an include of %WEB%.WebLeftBar
(inside div patternLeftBarContents
)
-
WebLeftBar
does an include of WebLeftBarLogin
(if context can_login
)
-
WebLeftBarLogin
does an include of the personal left bar (%MAINWEB%.%WIKINAME%LeftBar
- derived from WebLeftBarPersonalTemplate
)
- the personal left bar sits inside div
patternLeftBarPersonalContent
New scenario:
-
twiki.pattern.tmpl
inside %TMPL:DEF{"leftbar"}%
does an include of =WebLeftBarLogin= (outside of div patternLeftBarContents
) (if context can_login
)
- stays the same:
WebLeftBarLogin
does an include of the personal left bar (%MAINWEB%.%WIKINAME%LeftBar
- derived from WebLeftBarPersonalTemplate
)
-
twiki.pattern.tmpl
one line later continues to include %WEB%.WebLeftBar
So the main code change is that
WebLeftBarLogin
(if
context can_login
) is moved from
WebLeftBar
to
twiki.pattern.tmpl
.
SVN 6976 and 6979.
AC
I have reverted the changes to each web can have its own web left bar without login part.
SVN 7084.
AC