dhatu 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/dhatu/blog_posts_controller.rb +1 -1
- data/app/controllers/dhatu/bookings_controller.rb +1 -1
- data/app/controllers/dhatu/branches_controller.rb +1 -1
- data/app/controllers/dhatu/categories_controller.rb +7 -6
- data/app/controllers/dhatu/events_controller.rb +1 -1
- data/app/controllers/dhatu/offers_controller.rb +1 -1
- data/app/controllers/dhatu/pages_controller.rb +1 -1
- data/app/controllers/dhatu/photo_albums_controller.rb +172 -0
- data/app/controllers/dhatu/prices_controller.rb +1 -1
- data/app/controllers/dhatu/projects_controller.rb +1 -1
- data/app/controllers/dhatu/promotion_enquiries_controller.rb +1 -1
- data/app/controllers/dhatu/promotions_controller.rb +1 -1
- data/app/controllers/dhatu/sections_controller.rb +2 -2
- data/app/controllers/dhatu/services_controller.rb +1 -1
- data/app/controllers/dhatu/team_members_controller.rb +1 -1
- data/app/controllers/dhatu/testimonials_controller.rb +1 -1
- data/app/models/dhatu/photo_album.rb +172 -0
- data/app/views/dhatu/categories/_header.html.erb +86 -0
- data/app/views/dhatu/categories/_index.html.erb +0 -91
- data/app/views/dhatu/categories/_row.html.erb +13 -8
- data/app/views/dhatu/categories/index.html.erb +6 -1
- data/app/views/dhatu/dashboard/_index.html.erb +6 -0
- data/app/views/dhatu/pages/_index.html.erb +4 -27
- data/app/views/dhatu/pages/_row.html.erb +3 -21
- data/app/views/dhatu/pages/index.html.erb +7 -6
- data/app/views/dhatu/photo_albums/_form.html.erb +38 -0
- data/app/views/dhatu/photo_albums/_header.html.erb +70 -0
- data/app/views/dhatu/photo_albums/_index.html.erb +44 -0
- data/app/views/dhatu/photo_albums/_row.html.erb +28 -0
- data/app/views/dhatu/photo_albums/_show.html.erb +145 -0
- data/app/views/dhatu/photo_albums/index.html.erb +34 -0
- data/app/views/dhatu/sections/_index.html.erb +29 -53
- data/app/views/dhatu/sections/_row.html.erb +9 -25
- data/app/views/dhatu/sections_old/_form.html.erb +171 -0
- data/app/views/dhatu/sections_old/_index.html.erb +53 -0
- data/app/views/dhatu/sections_old/_row.html.erb +26 -0
- data/app/views/dhatu/sections_old/_show.html.erb +208 -0
- data/app/views/dhatu/sections_old/index.html.erb +52 -0
- data/app/views/layouts/kuppayam/_sidebar.html.erb +6 -0
- data/config/routes.rb +9 -0
- data/db/migrate/20180101093437_create_photo_albums.rb +24 -0
- data/lib/dhatu/version.rb +1 -1
- data/spec/dummy/spec/factories/photo_album.rb +28 -0
- metadata +18 -4
- data/app/views/dhatu/categories/_index_list.html.erb +0 -118
- data/app/views/dhatu/categories/_row_list.html.erb +0 -34
@@ -0,0 +1,53 @@
|
|
1
|
+
<div class="table-responsive">
|
2
|
+
<table class="table table-hover table-condensed members-table middle-align">
|
3
|
+
<thead>
|
4
|
+
<tr>
|
5
|
+
<th style="text-align: center;width:5%">#</th>
|
6
|
+
<!-- <th style="text-align: center;width:100px"><i class="fa fa-photo"></i></th> -->
|
7
|
+
<th style="width:50%;">Title</th>
|
8
|
+
<th style="width:100px;" class="hidden-sm hidden-xs">Status</th>
|
9
|
+
<% if display_manage_links? %>
|
10
|
+
<th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs">Actions</th>
|
11
|
+
<% end %>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
<tbody>
|
15
|
+
<tr id="tr_section_0"></tr>
|
16
|
+
<% @sections.each_with_index do |section, i| %>
|
17
|
+
|
18
|
+
<tr id="tr_section_<%= section.id %>">
|
19
|
+
|
20
|
+
<th scope="row" style="text-align: center;">
|
21
|
+
<%= serial_number(i) %>
|
22
|
+
</th>
|
23
|
+
|
24
|
+
<!-- <td class="display-image">
|
25
|
+
<%#= display_thumbnail(section) %>
|
26
|
+
</td> -->
|
27
|
+
|
28
|
+
<td>
|
29
|
+
<strong><%= section.title %></strong><br>
|
30
|
+
<%= section.sub_title %><br>
|
31
|
+
</td>
|
32
|
+
|
33
|
+
<td class="hidden-sm hidden-xs"><%= display_publishable_status(section) %></td>
|
34
|
+
|
35
|
+
<% if display_manage_links? %>
|
36
|
+
<td class="action-links hidden-sm hidden-xs" style="width:10%"><%= display_publishable_links(section) %></td>
|
37
|
+
|
38
|
+
<td class="action-links hidden-sm hidden-xs" style="width:10%">
|
39
|
+
<%= display_manage_links(section, @current_user) %>
|
40
|
+
</td>
|
41
|
+
<% end %>
|
42
|
+
|
43
|
+
</tr>
|
44
|
+
<% end %>
|
45
|
+
</tbody>
|
46
|
+
</table>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<div class="row">
|
50
|
+
<div class="col-sm-12">
|
51
|
+
<%= paginate_kuppayam(@sections) %>
|
52
|
+
</div>
|
53
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<tr id="tr_section_<%= section.id %>">
|
2
|
+
|
3
|
+
<th scope="row" style="text-align: center;">
|
4
|
+
<%= serial_number(i) %>
|
5
|
+
</th>
|
6
|
+
|
7
|
+
<!-- <td class="display-image">
|
8
|
+
<%#= display_thumbnail(section) %>
|
9
|
+
</td> -->
|
10
|
+
|
11
|
+
<td>
|
12
|
+
<strong><%= section.title %></strong><br>
|
13
|
+
<%= section.sub_title %><br>
|
14
|
+
</td>
|
15
|
+
|
16
|
+
<td class="hidden-sm hidden-xs"><%= display_publishable_status(section) %></td>
|
17
|
+
|
18
|
+
<% if display_manage_links? %>
|
19
|
+
<td class="action-links hidden-sm hidden-xs" style="width:10%"><%= display_publishable_links(section) %></td>
|
20
|
+
|
21
|
+
<td class="action-links hidden-sm hidden-xs" style="width:10%">
|
22
|
+
<%= display_manage_links(section, @current_user) %>
|
23
|
+
</td>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
</tr>
|
@@ -0,0 +1,208 @@
|
|
1
|
+
<div id="div_section_show">
|
2
|
+
|
3
|
+
<% if @current_user.super_admin? %>
|
4
|
+
<div class="row">
|
5
|
+
|
6
|
+
<div class="col-md-9 col-sm-12 col-xs-12">
|
7
|
+
<%= theme_panel_heading(@section.name) %>
|
8
|
+
<%= theme_panel_sub_heading(@section.page.try(:name), "#") %>
|
9
|
+
<%= clear_tag(10) %>
|
10
|
+
<%= display_publishable_status(@section) %>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<% if display_manage_links? %>
|
14
|
+
<div class="col-md-3 col-sm-12 col-xs-12">
|
15
|
+
<%= display_manage_buttons(@section) %>
|
16
|
+
<%= display_publishable_buttons(@section) if @current_user.super_admin? %>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<%= clear_tag(20) %>
|
23
|
+
<div><strong class="fs-18">Section Texts</strong></div>
|
24
|
+
<hr>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
<%= clear_tag(20) %>
|
28
|
+
|
29
|
+
<div class="row tabular-item">
|
30
|
+
<% if @section.enable_title %>
|
31
|
+
<div class="col-sm-12 mb-40">
|
32
|
+
<div class="item-title">Title</div>
|
33
|
+
<div class="item-detail"><%= @section.title %></div>
|
34
|
+
</div>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
<% if @section.enable_sub_title %>
|
38
|
+
<div class="col-sm-12 mb-40">
|
39
|
+
<div class="item-title">Sub Title</div>
|
40
|
+
<div class="item-detail"><%= @section.sub_title.blank? ? "-" : @section.sub_title %></div>
|
41
|
+
</div>
|
42
|
+
<% end %>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div class="row tabular-item">
|
46
|
+
<% if @section.enable_button_one %>
|
47
|
+
<div class="col-sm-3 mb-40">
|
48
|
+
<div class="item-title">Button Text One</div>
|
49
|
+
<div class="item-detail"><%= @section.button_one_text.blank? ? "-" : @section.button_one_text %></div>
|
50
|
+
</div>
|
51
|
+
<div class="col-sm-3 mb-40">
|
52
|
+
<div class="item-title">Button Link One</div>
|
53
|
+
<div class="item-detail"><%= @section.button_one_link.blank? ? "-" : @section.button_one_link %></div>
|
54
|
+
</div>
|
55
|
+
<% end %>
|
56
|
+
|
57
|
+
<% if @section.enable_button_two %>
|
58
|
+
<div class="col-sm-3 mb-40">
|
59
|
+
<div class="item-title">Button Text Two</div>
|
60
|
+
<div class="item-detail"><%= @section.button_two_text.blank? ? "-" : @section.button_two_text %></div>
|
61
|
+
</div>
|
62
|
+
<div class="col-sm-3 mb-40">
|
63
|
+
<div class="item-title">Button Link Two</div>
|
64
|
+
<div class="item-detail"><%= @section.button_two_link.blank? ? "-" : @section.button_two_link %></div>
|
65
|
+
</div>
|
66
|
+
<% end %>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div class="row tabular-item">
|
70
|
+
<% if @section.enable_short_description %>
|
71
|
+
<div class="col-sm-12 mb-40">
|
72
|
+
<div class="item-title">Short Description</div>
|
73
|
+
<div class="item-detail pt-20 pb-20">
|
74
|
+
<% if @section.short_description.blank? %>
|
75
|
+
<Not Specified>
|
76
|
+
<% else %>
|
77
|
+
<%= raw(@section.short_description) %>
|
78
|
+
<% end %>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
<% end %>
|
82
|
+
|
83
|
+
<% if @section.enable_long_description %>
|
84
|
+
<div class="col-sm-12 mb-40">
|
85
|
+
<div class="item-title">Long Description</div>
|
86
|
+
<div class="item-detail pt-20 pb-20">
|
87
|
+
<% if @section.long_description.blank? %>
|
88
|
+
<Not Specified>
|
89
|
+
<% else %>
|
90
|
+
<%= raw(@section.long_description) %>
|
91
|
+
<% end %>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
<% end %>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
<% if @section.enable_cover_image %>
|
98
|
+
<%= clear_tag(30) %>
|
99
|
+
<div class="row">
|
100
|
+
<div class="col-md-6">
|
101
|
+
<div><strong class="fs-18">Section Image (Optional)</strong></div>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<hr style="margin-top:0px;">
|
105
|
+
<div class="row">
|
106
|
+
<div class="col-md-3">
|
107
|
+
<%= clear_tag(10) %>
|
108
|
+
<% if display_edit_links? %>
|
109
|
+
<%= edit_image(@section,
|
110
|
+
"cover_image.image.large.url",
|
111
|
+
upload_image_link(@section, :cover_image, nil ),
|
112
|
+
remove_image_link(@section, :cover_image, nil ),
|
113
|
+
image_options: {assoc_name: :cover_image }) %>
|
114
|
+
<% else %>
|
115
|
+
<%= display_image(@section, "cover_image.image.large.url", class: "img-inline", alt: @section.display_name) %>
|
116
|
+
<% end %>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<%= clear_tag(30) %>
|
120
|
+
<% end %>
|
121
|
+
|
122
|
+
<% if @section.enable_gallery_images %>
|
123
|
+
<%= clear_tag(30) %>
|
124
|
+
<div class="row">
|
125
|
+
<div class="col-md-6">
|
126
|
+
<div><strong class="fs-18">Section Images (Optional)</strong></div>
|
127
|
+
</div>
|
128
|
+
<div class="col-md-6">
|
129
|
+
<%= theme_button('Upload a New Image', 'plus', upload_multiple_image_link(@section, :gallery_images, nil ), classes: "pull-right", btn_type: "success") %>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
<hr style="margin-top:0px;">
|
133
|
+
<%= clear_tag(10) %>
|
134
|
+
<div id="div_multiple_images">
|
135
|
+
<%= render :partial=>"kuppayam/images/multiple_images", locals: { images: @section.gallery_images } %>
|
136
|
+
</div>
|
137
|
+
<%= clear_tag(30) %>
|
138
|
+
<% end %>
|
139
|
+
|
140
|
+
<% if @current_user.super_admin? %>
|
141
|
+
<%= clear_tag(30) %>
|
142
|
+
<div><strong class="fs-18">Technical Details</strong></div>
|
143
|
+
<hr>
|
144
|
+
<div class="table-responsive">
|
145
|
+
<table class="table table-striped table-condensed table-bordered mb-60">
|
146
|
+
<tbody>
|
147
|
+
|
148
|
+
<tr>
|
149
|
+
<th>ID</th><td><%= @section.id %></td>
|
150
|
+
<th style="width:25%">Page</th>
|
151
|
+
<td style="width:25%"><%= "#{@section.page.name} (#{@section.page.id})" if @section.page %></td>
|
152
|
+
</tr>
|
153
|
+
|
154
|
+
<tr>
|
155
|
+
<th>CODE</th><td><%= @section.code %></td>
|
156
|
+
<th></th><td></td>
|
157
|
+
</tr>
|
158
|
+
|
159
|
+
<tr>
|
160
|
+
<th>Status</th><td><%= @section.status %></td>
|
161
|
+
<th>Priority</th><td><%= @section.priority %></td>
|
162
|
+
</tr>
|
163
|
+
|
164
|
+
<tr>
|
165
|
+
<th style="width:25%">Enable Title</th>
|
166
|
+
<td style="width:25%"><%=@section.enable_title %></td>
|
167
|
+
<th style="width:25%">Enable Sub Title</th>
|
168
|
+
<td style="width:25%"><%=@section.enable_sub_title %></td>
|
169
|
+
</tr>
|
170
|
+
|
171
|
+
<tr>
|
172
|
+
<th style="width:25%">Enable Button One</th>
|
173
|
+
<td style="width:25%"><%=@section.enable_button_one %></td>
|
174
|
+
<th style="width:25%">Enable Button Two</th>
|
175
|
+
<td style="width:25%"><%=@section.enable_button_two %></td>
|
176
|
+
</tr>
|
177
|
+
|
178
|
+
<tr>
|
179
|
+
<th style="width:25%">Enable Short Description</th>
|
180
|
+
<td style="width:25%"><%=@section.enable_short_description %></td>
|
181
|
+
<th style="width:25%">Enable Long Description</th>
|
182
|
+
<td style="width:25%"><%=@section.enable_long_description %></td>
|
183
|
+
</tr>
|
184
|
+
|
185
|
+
<tr>
|
186
|
+
<th style="width:25%">Enable Cover Image</th>
|
187
|
+
<td style="width:25%"><%=@section.enable_cover_image %></td>
|
188
|
+
<th style="width:25%">Enable Gallery Images</th>
|
189
|
+
<td style="width:25%"><%=@section.enable_gallery_images %></td>
|
190
|
+
</tr>
|
191
|
+
|
192
|
+
<tr>
|
193
|
+
<th>Created At</th><td><%= @section.created_at.strftime("%m/%d/%Y - %H:%M:%S") if @section.created_at %></td>
|
194
|
+
<th>Updated At</th><td><%= @section.updated_at.strftime("%m/%d/%Y - %H:%M:%S") if @section.updated_at %></td>
|
195
|
+
</tr>
|
196
|
+
|
197
|
+
</tbody>
|
198
|
+
</table>
|
199
|
+
</div>
|
200
|
+
<% end %>
|
201
|
+
|
202
|
+
<%= link_to "Close", "#", onclick: "closeLargeModal();", class: "btn btn-primary pull-right ml-10", style: "width:120px;" %>
|
203
|
+
|
204
|
+
<%= link_to "Edit", edit_section_path(@section), remote: true, class: "btn btn-success pull-right", style: "width:180px;" if display_manage_links? %>
|
205
|
+
|
206
|
+
<%= clear_tag %>
|
207
|
+
|
208
|
+
</div>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<div class="row">
|
2
|
+
|
3
|
+
<div class="col-md-12">
|
4
|
+
|
5
|
+
<ul class="nav nav-tabs nav-tabs-justified">
|
6
|
+
<% Dhatu::Section::STATUS.each do |key, value| %>
|
7
|
+
<li class="<%= @status == value ? 'active' : '' %>">
|
8
|
+
<%= link_to dhatu.sections_path(st: value), "aria-expanded" => "#{ @status == value ? 'true' : 'false' }" do %>
|
9
|
+
<span class="mr-5"><i class="<%= Dhatu::Section::STATUS_UI_ICON[value] %>"></i></span>
|
10
|
+
<span class="hidden-xs"><%= key %></span>
|
11
|
+
<% end %>
|
12
|
+
</li>
|
13
|
+
<% end %>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
<div class="tab-content">
|
17
|
+
<div class="tab-pane active">
|
18
|
+
|
19
|
+
<div id="div_section_action_buttons">
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-sm-6">
|
22
|
+
<%= theme_button('Add a Section', 'plus', dhatu.new_section_path(), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::Section) %>
|
23
|
+
|
24
|
+
<%= theme_button('Refresh', 'refresh', dhatu.sections_path(st: @status), classes: "pull-left mr-10", btn_type: "white") %>
|
25
|
+
</div>
|
26
|
+
<div class="col-sm-6">
|
27
|
+
<%= search_form_kuppayam(Dhatu::Section, dhatu.sections_path(st: @status), text: @filters[:query]) %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</div>
|
32
|
+
<%= clear_tag(10) %>
|
33
|
+
|
34
|
+
<div id="div_section_index">
|
35
|
+
<%= render :partial=>"dhatu/sections/index" %>
|
36
|
+
</div>
|
37
|
+
<%= clear_tag(10) %>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
</div>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<script type="text/javascript">
|
47
|
+
$('body').on('change', '#inp_title', function() {
|
48
|
+
var sectionCode = $(this).val().replace(/ /g, '_').toUpperCase().slice(0, 63);
|
49
|
+
console.log("hello");
|
50
|
+
$('#inp_code').val(sectionCode);
|
51
|
+
});
|
52
|
+
</script>
|
@@ -24,6 +24,12 @@
|
|
24
24
|
url: dhatu.services_url,
|
25
25
|
has_permission: @current_user.has_read_permission?(Dhatu::Service)
|
26
26
|
},
|
27
|
+
photo_albums: {
|
28
|
+
text: "Photo Gallery",
|
29
|
+
icon_class: "fa-image",
|
30
|
+
url: dhatu.photo_albums_url,
|
31
|
+
has_permission: @current_user.has_read_permission?(Dhatu::PhotoAlbum)
|
32
|
+
},
|
27
33
|
prices: {
|
28
34
|
text: "Prices",
|
29
35
|
icon_class: "fa-dollar",
|
data/config/routes.rb
CHANGED
@@ -136,6 +136,15 @@ Dhatu::Engine.routes.draw do
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
+
resources :photo_albums do
|
140
|
+
member do
|
141
|
+
put :make_parent, as: :make_parent
|
142
|
+
put :update_status, as: :update_status
|
143
|
+
put :mark_as_featured, as: :mark_as_featured
|
144
|
+
put :remove_from_featured, as: :remove_from_featured
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
139
148
|
end
|
140
149
|
|
141
150
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class CreatePhotoAlbums < ActiveRecord::Migration[5.1]
|
2
|
+
def change
|
3
|
+
create_table :photo_albums do |t|
|
4
|
+
t.string :name, :null => false, limit: 128
|
5
|
+
t.string :code, :null => false, limit: 128
|
6
|
+
t.string :one_liner
|
7
|
+
t.string :permalink, :null => false, limit: 128
|
8
|
+
t.text :description
|
9
|
+
|
10
|
+
t.references :parent, references: :category
|
11
|
+
t.references :top_parent, references: :category
|
12
|
+
t.boolean :end_node, default: true
|
13
|
+
|
14
|
+
t.string :status, :null => false, :default=>"unpublished", :limit=>16
|
15
|
+
t.boolean :featured, default: false
|
16
|
+
t.integer :priority, default: 1, null: false
|
17
|
+
|
18
|
+
t.timestamps null: false
|
19
|
+
end
|
20
|
+
|
21
|
+
add_index :photo_albums, :permalink, :unique => true
|
22
|
+
add_index :photo_albums, :status
|
23
|
+
end
|
24
|
+
end
|
data/lib/dhatu/version.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
|
3
|
+
factory :photo_album, class: Dhatu::Category do
|
4
|
+
name "Photo Album Name"
|
5
|
+
code "PHOTO_ALBUM_CODE"
|
6
|
+
one_liner "Photo Album One Liner"
|
7
|
+
description "Photo Album Short Description"
|
8
|
+
status "published"
|
9
|
+
featured false
|
10
|
+
end_node true
|
11
|
+
end
|
12
|
+
|
13
|
+
factory :published_photo_album, parent: :photo_album do
|
14
|
+
status "published"
|
15
|
+
end
|
16
|
+
|
17
|
+
factory :unpublished_photo_album, parent: :photo_album do
|
18
|
+
status "unpublished"
|
19
|
+
end
|
20
|
+
|
21
|
+
factory :removed_photo_album, parent: :photo_album do
|
22
|
+
status "removed"
|
23
|
+
end
|
24
|
+
|
25
|
+
factory :featured_photo_album, parent: :published_photo_album do
|
26
|
+
featured true
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dhatu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kpvarma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -419,6 +419,7 @@ files:
|
|
419
419
|
- app/controllers/dhatu/meta_tags_controller.rb
|
420
420
|
- app/controllers/dhatu/offers_controller.rb
|
421
421
|
- app/controllers/dhatu/pages_controller.rb
|
422
|
+
- app/controllers/dhatu/photo_albums_controller.rb
|
422
423
|
- app/controllers/dhatu/prices_controller.rb
|
423
424
|
- app/controllers/dhatu/projects_controller.rb
|
424
425
|
- app/controllers/dhatu/promotion_attributes_controller.rb
|
@@ -441,6 +442,7 @@ files:
|
|
441
442
|
- app/models/dhatu/meta_tag.rb
|
442
443
|
- app/models/dhatu/offer.rb
|
443
444
|
- app/models/dhatu/page.rb
|
445
|
+
- app/models/dhatu/photo_album.rb
|
444
446
|
- app/models/dhatu/price.rb
|
445
447
|
- app/models/dhatu/project.rb
|
446
448
|
- app/models/dhatu/promotion.rb
|
@@ -471,10 +473,9 @@ files:
|
|
471
473
|
- app/views/dhatu/branches/index.html.erb
|
472
474
|
- app/views/dhatu/categories/_category_types.html.erb
|
473
475
|
- app/views/dhatu/categories/_form.html.erb
|
476
|
+
- app/views/dhatu/categories/_header.html.erb
|
474
477
|
- app/views/dhatu/categories/_index.html.erb
|
475
|
-
- app/views/dhatu/categories/_index_list.html.erb
|
476
478
|
- app/views/dhatu/categories/_row.html.erb
|
477
|
-
- app/views/dhatu/categories/_row_list.html.erb
|
478
479
|
- app/views/dhatu/categories/_show.html.erb
|
479
480
|
- app/views/dhatu/categories/choose_category_type.html.erb
|
480
481
|
- app/views/dhatu/categories/index.html.erb
|
@@ -501,6 +502,12 @@ files:
|
|
501
502
|
- app/views/dhatu/pages/_show.html.erb
|
502
503
|
- app/views/dhatu/pages/index.html.erb
|
503
504
|
- app/views/dhatu/pages/show.html.erb
|
505
|
+
- app/views/dhatu/photo_albums/_form.html.erb
|
506
|
+
- app/views/dhatu/photo_albums/_header.html.erb
|
507
|
+
- app/views/dhatu/photo_albums/_index.html.erb
|
508
|
+
- app/views/dhatu/photo_albums/_row.html.erb
|
509
|
+
- app/views/dhatu/photo_albums/_show.html.erb
|
510
|
+
- app/views/dhatu/photo_albums/index.html.erb
|
504
511
|
- app/views/dhatu/prices/_form.html.erb
|
505
512
|
- app/views/dhatu/prices/_index.html.erb
|
506
513
|
- app/views/dhatu/prices/_row.html.erb
|
@@ -532,6 +539,11 @@ files:
|
|
532
539
|
- app/views/dhatu/sections/_row.html.erb
|
533
540
|
- app/views/dhatu/sections/_show.html.erb
|
534
541
|
- app/views/dhatu/sections/index.html.erb
|
542
|
+
- app/views/dhatu/sections_old/_form.html.erb
|
543
|
+
- app/views/dhatu/sections_old/_index.html.erb
|
544
|
+
- app/views/dhatu/sections_old/_row.html.erb
|
545
|
+
- app/views/dhatu/sections_old/_show.html.erb
|
546
|
+
- app/views/dhatu/sections_old/index.html.erb
|
535
547
|
- app/views/dhatu/services/_form.html.erb
|
536
548
|
- app/views/dhatu/services/_index.html.erb
|
537
549
|
- app/views/dhatu/services/_row.html.erb
|
@@ -585,6 +597,7 @@ files:
|
|
585
597
|
- db/migrate/20171120145548_create_promotion_and_promotion_enquiries.rb
|
586
598
|
- db/migrate/20180101093434_create_projects.rb
|
587
599
|
- db/migrate/20180101093436_create_meta_tags.rb
|
600
|
+
- db/migrate/20180101093437_create_photo_albums.rb
|
588
601
|
- lib/dhatu.rb
|
589
602
|
- lib/dhatu/engine.rb
|
590
603
|
- lib/dhatu/factories.rb
|
@@ -602,6 +615,7 @@ files:
|
|
602
615
|
- spec/dummy/spec/factories/offer.rb
|
603
616
|
- spec/dummy/spec/factories/offer_cover_image.rb
|
604
617
|
- spec/dummy/spec/factories/offer_gallery_image.rb
|
618
|
+
- spec/dummy/spec/factories/photo_album.rb
|
605
619
|
- spec/dummy/spec/factories/promotion.rb
|
606
620
|
- spec/dummy/spec/factories/promotion_attributes.rb
|
607
621
|
- spec/dummy/spec/factories/promotion_cover_image.rb
|