From 63fcca1a90c58b6adf3667308512b14146d90b87 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 8 May 2014 15:40:16 +0800 Subject: [PATCH] added template for faq --- .../modules/faq/_widget.html.erb | 17 +++++++++++++++++ .../modules/faq/_widget1.html.erb | 12 ++++++++++++ .../orbit_bootstrap/modules/faq/index.html.erb | 8 ++++++++ .../orbit_bootstrap/modules/faq/show.html.erb | 14 ++++++++++++++ built_in_extensions.rb | 1 + 5 files changed, 52 insertions(+) create mode 100644 app/templates/orbit_bootstrap/modules/faq/_widget.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/faq/_widget1.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/faq/index.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/faq/show.html.erb diff --git a/app/templates/orbit_bootstrap/modules/faq/_widget.html.erb b/app/templates/orbit_bootstrap/modules/faq/_widget.html.erb new file mode 100644 index 0000000..d086bc1 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/faq/_widget.html.erb @@ -0,0 +1,17 @@ +
+
+ +
+
+ +
+
+

{{title}}

+ {{postdate}} +

{{subtitle}}

+

Some Link

+
+
+
+
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/faq/_widget1.html.erb b/app/templates/orbit_bootstrap/modules/faq/_widget1.html.erb new file mode 100644 index 0000000..160def8 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/faq/_widget1.html.erb @@ -0,0 +1,12 @@ +
+

{{widget-title}}

+ +

+ More +

+
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/faq/index.html.erb b/app/templates/orbit_bootstrap/modules/faq/index.html.erb new file mode 100644 index 0000000..47862f5 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/faq/index.html.erb @@ -0,0 +1,8 @@ +

{{widget-title}}

+ \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/faq/show.html.erb b/app/templates/orbit_bootstrap/modules/faq/show.html.erb new file mode 100644 index 0000000..c4677d8 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/faq/show.html.erb @@ -0,0 +1,14 @@ +
+
+

{{question}}

+
+
+

{{answer}}

+
+
+ {{file_title}}
+
+
+ {{link_title}}
+
+
\ No newline at end of file diff --git a/built_in_extensions.rb b/built_in_extensions.rb index e7a9d6b..6127178 100644 --- a/built_in_extensions.rb +++ b/built_in_extensions.rb @@ -3,3 +3,4 @@ gem 'ad_banner', git: 'git@gitlab.tp.rulingcom.com:saurabh/adbanner-test.git' gem 'gallery', git: 'git@gitlab.tp.rulingcom.com:saurabh/gallery.git' gem 'links', git: 'git@gitlab.tp.rulingcom.com:saurabh/links.git' gem 'page_content', git: 'git@gitlab.tp.rulingcom.com:saurabh/pagecontent.git' +gem 'faq', git: 'git@gitlab.tp.rulingcom.com:saurabh/faq.git'