If a sidebar toggler contains only a single item with a link, there
is no need to create a toggler with subnav at all. Let's just remove
the subnav and link to the target directly.
Signed-off-by: Frieder Schrempf <dev@fris.de>
Steps to reproduce bug:
----------------------
1. View page with narrow content
2. Edit page --> wide content (this is correct)
3. Cancel/Save
4. Page has now wide content, but should have narrow content
Fix
---
Only remember width of content when we are view a page, i.e. `do=show`
SPR-982
* add the current admin plugin to the breadcrumb
* use proper translations for the various modes
* do no longer rely on JavaScript for the enhanced breadcrumb
* add image name in breadcrumb for detail view
This removes the base z-indexes as they seem not to be needed (source
order defines initial heights) and interfered with the sidbar functionality.
Removing it was suggested in SPR-899 as well
So we do not have to open the same section of the sidebar every time, we click
a link to a new page.
It forgets the toggle-state if the content is manually or automatically
widened, for example by clicking on an edit-button.
SPR-883
This refactors the page-attribute area a bit and intergrates the new
ajax branch of the QC plugin. I'm not really happy about the included
file - it should probably be moved to our Template class instead.
* sidebar:
fix problems with ini handling in svg dispatch
added profile link to usertools in sidebar
finally align the menu items correctly
some more list adjustments for sidebar
add level1 class to fake inpage lists
adjusted language
some style adjustments for the sidebar
complete refactor of the sidebar behaviour javascript RES-754
style the fake icon
use jQuery slector to define the elements
directly embed SVGs for better styling
very simple styling of the new sidebar behaviour.
New sidebar JavaScript logic
allow style.ini replacements in SVG dispatcher
SVG Dispatch: allow for referencing material design icons
add caching and fix <g> wrapping
fixed content type header
fixed auth check
feat: add background-colors to SVG-dispatcher
first go at a dispatcher to dynamically recolor SVGs
Now all toggling of the sidebar and the related menus is done through
the same click handler. HTML has been unified. All sidebar related
content is now in a single include file instead of several. Icons for
the site tools user tools and trace have been added.
The CSS for the whole sidebar still has to be refactored.
This simplifies the tab handling by attaching one click handler to
handle the open/close mechanism for all tabs. It should now allow to
dynamically add tabs even after the fact and the handler should still
work.
Support for the actual tab contents has been removed for now. This
should most probably be readded via PHP anyway.
* master:
show license not copyright SPR-794
use proper translation mechanism for JS SPR-798
added type ints for other plugins
SPR-797 fix ID uniqueness