ソースを参照

Fix "reason" prefix being shown with no reason for public blocks (#11908)

master^2
Eugen Rochko 4年前
committed by GitHub
コミット
33b2e0f189
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      app/views/about/more.html.haml

+ 1
- 1
app/views/about/more.html.haml ファイルの表示

@@ -65,7 +65,7 @@
= t('about.unavailable_content_description.silenced') if domain_block.silence?
= t('about.unavailable_content_description.rejecting_media') if domain_block.reject_media?

- if display_blocks_rationale?
- if display_blocks_rationale? && domain_block.public_comment.present?
%strong= t('about.unavailable_content_description.reason')
= domain_block.public_comment



読み込み中…
キャンセル
保存