プロジェクト

全般

プロフィール

Vote #74828

未完了

Projects list : button to hide / show sub-projects

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Projects_11
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
11
version_id:
0
issue_org_id:
15914
author_id:
36999
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

It allows to hide sub-projects level by level.
It's very useful for example to move projects, for administrators with plenty of projects this is our case :-) ).

The patch is simple and non intrusive (Javascript copied from other part of Redmine with + / - buttons).

I did not found a way to include the javascript code in a separate js file (I put this enhancement in our specific plugin).


journals

--------------------------------------------------------------------------------
* This piece of css must be added somewhere in a stylesheet file (in a theme for example)

*Take care of the image url relative path*

<pre><code class="css">div.closed span.expander {
background-image: url(../../../../images/bullet_toggle_plus.png);
}

div span.expander {
background-image: url(../../../../images/bullet_toggle_minus.png);
padding-left: 8px;
margin-left: 0;
cursor: pointer;
}
</code></pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1

...but the patch should be complete, which is, include all necessary changes to the helper and main stylesheet. I think, it would be nice too if the project tree could be collapsed by default.
--------------------------------------------------------------------------------
TODO: provide a full patch
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリProjects_11 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0