Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# チケット表示画面で「説明」を上に表示する | ||
|
||
チケット表示画面で、ステータス、優先度、担当者などの項目より上に説明を表示します。 | ||
|
||
対応バージョン:Redmine 4.2.1 / RedMica 2.0.0 | ||
|
||
## 設定 | ||
|
||
パスのパターン: `/issues/[0-9]+` | ||
|
||
挿入位置: 全ページのヘッダ | ||
|
||
種別: JavaScript | ||
|
||
コード: | ||
|
||
~~~ javascript | ||
$(function(){ | ||
if($("div.issue div.description").length){ | ||
$("div.issue div.attributes").before($("div.issue div.description")); | ||
$("div.issue div.attributes").before($("div.issue div.attributes + hr")); | ||
} | ||
}); | ||
~~~ | ||
|
||
## カスタマイズ結果 | ||
|
||
### カスタマイズ前 | ||
|
||
![](before@2x.png) | ||
|
||
### カスタマイズ後 | ||
|
||
![](after@2x.png) |