Skip to content

Commit

Permalink
記事追加:チケット表示画面で「説明」を他の項目より上に表示する
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzuriha5 committed Jan 12, 2022
1 parent 52532c8 commit 6239e4e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -47,6 +47,7 @@ View customizeプラグインは、Redmineの画面を手軽にカスタマイ
* [テキスト形式のカスタムフィールド欄に入力例を表示する](customizes/1b38e16b/customize.md)
* [チケットの表示画面で「優先度」を非表示にする](customizes/0f3bccf7/customize.md)
* [新しいチケット画面でカスタムフィールドにデフォルトで現在日時を yyyy/mm/dd hh:mm 形式で表示する](customizes/68c4adc1/customize.md)
* [チケット表示画面で「説明」を他の項目より上に表示する](customizes/a69779da/customize.md)

### ガントチャート

Expand Down
Binary file added customizes/a69779da/after@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customizes/a69779da/before@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions customizes/a69779da/customize.md
@@ -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)

0 comments on commit 6239e4e

Please sign in to comment.