diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-04 18:04:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-04 18:04:09 +0000 |
commit | 1930cf3d4603f996e1639ca535b3b6a5b2604d44 (patch) | |
tree | b3f71d8a3e82c6908fa2ed2d0b787e42ccd38901 /public | |
parent | 19f44cd1cba9b798a083a0d40caf5e93f2dcfb7f (diff) | |
download | redmine-1930cf3d4603f996e1639ca535b3b6a5b2604d44.tar.gz redmine-1930cf3d4603f996e1639ca535b3b6a5b2604d44.zip |
Adds group folding on issue list (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2711 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 10 | ||||
-rw-r--r-- | public/stylesheets/application.css | 6 |
2 files changed, 13 insertions, 3 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 3becbeb21..93d4a8bda 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -23,6 +23,16 @@ function showAndScrollTo(id, focus) { Element.scrollTo(id); } +function toggleRowGroup(el) { + var tr = Element.up(el, 'tr'); + var n = Element.next(tr); + tr.toggleClassName('open'); + while (n != undefined && !n.hasClassName('group')) { + Element.toggle(n); + n = Element.next(n); + } +} + var fileFieldCount = 1; function addFileField() { diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index a2ccb9026..b3db22619 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -102,11 +102,11 @@ tr.entry td.filename { width: 30%; } tr.entry td.size { text-align: right; font-size: 90%; } tr.entry td.revision, tr.entry td.author { text-align: center; } tr.entry td.age { text-align: right; } - -tr.entry span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;} -tr.entry.open span.expander {background-image: url(../images/bullet_toggle_minus.png);} tr.entry.file td.filename a { margin-left: 16px; } +tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;} +tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);} + tr.changeset td.author { text-align: center; width: 15%; } tr.changeset td.committed_on { text-align: center; width: 15%; } |