Commit 83f37f7aedcdc7ca5580b0ec4fd3eccc7eab69df
1 parent
ad11e627
Exists in
staging
and in
7 other branches
removing release notes method
Showing
2 changed files
with
6 additions
and
7 deletions
Show diff stats
app/models/block.rb
@@ -119,12 +119,13 @@ class Block < ActiveRecord::Base | @@ -119,12 +119,13 @@ class Block < ActiveRecord::Base | ||
119 | '(dummy)' | 119 | '(dummy)' |
120 | end | 120 | end |
121 | 121 | ||
122 | + # returns a short description of the block, used when the user sees a list of | ||
123 | + # blocks to choose one to include in the design. | ||
124 | + # | ||
125 | + # Must be redefined in subclasses to match the short description of each block | ||
126 | + # type. | ||
122 | def self.short_description | 127 | def self.short_description |
123 | - '(dummy)' | ||
124 | - end | ||
125 | - | ||
126 | - def self.release_notes | ||
127 | - '(dummy)' | 128 | + _('(dummy)') |
128 | end | 129 | end |
129 | 130 | ||
130 | def self.default_preview | 131 | def self.default_preview |
app/views/box_organizer/show_block_type_info.html.erb
@@ -23,8 +23,6 @@ | @@ -23,8 +23,6 @@ | ||
23 | <div id="block-info-description"> | 23 | <div id="block-info-description"> |
24 | <h2><%= _('Description') %></h2> | 24 | <h2><%= _('Description') %></h2> |
25 | <p><%= @block.description %></p> | 25 | <p><%= @block.description %></p> |
26 | - <h2><%= _('What\'s New') %></h2> | ||
27 | - <p><%= @block.release_notes %></p> | ||
28 | </div> | 26 | </div> |
29 | 27 | ||
30 | </div> | 28 | </div> |