FEATURE: add category banner for why a user cannot post (#9576)

* FEATURE: add category banner for why a user cannot post

Adds a category banner for why a user is unable to post in a category.

Also adds an extra alert for the user when a user is unable to create a topic in a
category and they still try and click on the disabled-looking new topic
button.
This commit is contained in:
Jeff Wong
2020-04-30 07:39:11 -10:00
committed by GitHub
parent 03815f9795
commit 2cb9e85d14
16 changed files with 284 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddReadOnlyToCategories < ActiveRecord::Migration[6.0]
def change
add_column :categories, :read_only_banner, :string
end
end