{"issue":{"created_at":"2011-11-29T17:28:33Z","state":"closed","updated_at":"2011-11-29T17:28:42Z","user":{"gravatar_id":"36e772d37d096b77e4a0f47df1286991","id":343404,"url":"https://api.github.com/users/tristanlins","login":"tristanlins","avatar_url":"https://secure.gravatar.com/avatar/36e772d37d096b77e4a0f47df1286991?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Hallo leo,\n\nwir hatten heute den Fall, dass wir eine CSS Klasse im Menü benötigten, die uns anzeigt, dass es Unterpunkte unter einem Menüpunkt gibt, auch wenn diese nicht angezeigt werden (weil z.B. der Menüpunkt garnicht ausgewählt ist).\nHierfür haben wir die Module.php angepasst, patch File im Anhang.\nEs wird einfach die Anzahl der Unterseiten gezählt (wenn das Menü nicht geöffnet wird) und eine entsprechende CSS Klasse erzeugt, wenn COUNT > 0 ist.\nVielleicht kann man's ja noch öfters gebrauchen :-)\n\nGrüße tril\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/1168.zip \"Download the attachments of this ticket\")\nRelated issues: #1012\n\n--- _Originally created on November 19th, 2009, at 11:58am (ID 1168)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2388328,"number":1168,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Duplicate","color":"ffdd00","url":"https://api.github.com/repos/contao/import/labels/Duplicate"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/frontend"}],"title":"hassubmenu CSS Klasse im Menü","closed_at":"2011-11-29T17:28:42Z","html_url":"https://github.com/contao/import/issues/1168","url":"https://api.github.com/repos/contao/import/issues/1168","milestone":null},"action":"closed"}