Skip to content
Snippets Groups Projects
Commit 4a06791d authored by Arnaud Levy's avatar Arnaud Levy
Browse files

new empty blocks

parent 44846f49
No related branches found
No related tags found
No related merge requests found
Showing
with 30 additions and 5 deletions
app/assets/images/communication/blocks/templates/datatable.jpg

17.6 KiB

app/assets/images/communication/blocks/templates/embed.jpg

17.6 KiB

app/assets/images/communication/blocks/templates/files.jpg

17.6 KiB

app/assets/images/communication/blocks/templates/image.jpg

17.6 KiB

app/assets/images/communication/blocks/templates/video.jpg

17.6 KiB

......@@ -32,15 +32,20 @@ class Communication::Block < ApplicationRecord
enum template_kind: {
chapter: 50,
organization_chart: 100,
partners: 200,
image: 51,
gallery: 300,
video: 52,
datatable: 54,
files: 55,
embed: 53,
call_to_action: 900,
testimonials: 400,
posts: 500,
pages: 600,
timeline: 700,
definitions: 800,
call_to_action: 900,
organization_chart: 100,
partners: 200,
posts: 500,
pages: 600,
}
before_save :update_template_images
......
class Communication::Block::Template::Datatable < Communication::Block::Template
def build_git_dependencies
end
end
class Communication::Block::Template::Embed < Communication::Block::Template
def build_git_dependencies
end
end
class Communication::Block::Template::File < Communication::Block::Template
def build_git_dependencies
end
end
class Communication::Block::Template::Image < Communication::Block::Template
def build_git_dependencies
end
end
class Communication::Block::Template::Video < Communication::Block::Template
def build_git_dependencies
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment