Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tomaka <atomaka@gmail.com>2013-12-09 09:34:51 +0400
committerAndrew Tomaka <atomaka@gmail.com>2013-12-19 02:43:45 +0400
commit0760ba3efb7566b9f56bb066f4b15ba8ea34e1e7 (patch)
tree90188fdd35e78469275a6f6084b33dce7495d841 /app/models/broadcast_message.rb
parent566b49624a230728a3a873ee1937f4b8d30ff8f5 (diff)
Customization and previewing of broadcast messages
Diffstat (limited to 'app/models/broadcast_message.rb')
-rw-r--r--app/models/broadcast_message.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/broadcast_message.rb b/app/models/broadcast_message.rb
index a8b1db9c24e..05b4dfc366e 100644
--- a/app/models/broadcast_message.rb
+++ b/app/models/broadcast_message.rb
@@ -9,10 +9,12 @@
# alert_type :integer
# created_at :datetime not null
# updated_at :datetime not null
+# color :string(255)
+# font :string(255)
#
class BroadcastMessage < ActiveRecord::Base
- attr_accessible :alert_type, :ends_at, :message, :starts_at
+ attr_accessible :alert_type, :color, :ends_at, :font, :message, :starts_at
validates :message, presence: true
validates :starts_at, presence: true