ish_manager 0.1.8.225 → 0.1.8.226

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a768330e59e468bf875d1567dfe47c6394f68a5499a49b7b89f8c9d6f8420d5b
4
- data.tar.gz: 56d32aa536a4d8026cc9fd2270dc393490261874aea5cd26a12f9a24afbdd210
3
+ metadata.gz: 85b4cab8bd5d1cd3c1774dee82948ee0d59b3ef4d28d13acdab2e2208771b05a
4
+ data.tar.gz: 38fb5c28ff903e6fcca7201452c627565788a13615c6c28a709668d2015c7226
5
5
  SHA512:
6
- metadata.gz: eb5ffef746dc3ff14cf364606054e043b31397b28c81d25cdeb3840fddf3e0a742b717797b2b453f3f78b3a3e2ad4b6d413020062e15b9e64cda87adb6b756da
7
- data.tar.gz: 0cc3783bb8eddf18ca44edf6f1986dfe4e103a2af9930ef2ecf46a1b02fbe6bc5102b1a80fb24705fcaf61fadc16cc173fcf48bb485cc1ce5fcbbe50b3e9eb42
6
+ metadata.gz: 29f1dddb16814fa2ac28444b494a284fca08a4acd80049d5d4187c47215a773d4fdfe0acc3500de83e66fe3c283946e73dc86833085c12caf0ffd795322905b7
7
+ data.tar.gz: 66c57c05133f55095b575aa5856f84bb839b14d4555955e7c55b4be141e756cbfb63b842f8cc3762a26085b31e9808da72668dbd3da9b2c5d3ca38130d58667f
@@ -41,7 +41,7 @@ class IshManager::GalleriesController < IshManager::ApplicationController
41
41
  if @gallery.save
42
42
  ::IshManager::ApplicationMailer.shared_galleries( params[:gallery][:shared_profiles], @gallery ).deliver
43
43
  flash[:notice] = 'Success'
44
- redirect_to galleries_path
44
+ redirect_to edit_gallery_path(@gallery)
45
45
  else
46
46
  puts! @gallery.errors.messages
47
47
  flash[:alert] = 'No Luck. ' + @gallery.errors.inspect
@@ -24,7 +24,8 @@
24
24
  - @photos.each do |photo|
25
25
  .col-xs-4
26
26
  .item{ :style => "border: 1px solid red;" }
27
- = button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
27
+ .float-left= button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
28
+ = link_to "go to", "#large_#{photo.id}"
28
29
  %br
29
30
  = image_tag photo.photo.url( :thumb ), :alt => ''
30
31
  .spacer{ :style => 'height: 100px' }
@@ -33,6 +34,9 @@
33
34
  .center.large-photos
34
35
  - @photos.each do |photo|
35
36
  .item
36
- .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }
37
+ %a{id: "large_#{photo.id}" }
38
+ -# .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }
39
+ .wrapper
37
40
  = button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
38
-
41
+ = image_tag photo.photo.url(:large)
42
+ = link_to "large", photo.photo.url(:large)
@@ -24,10 +24,10 @@
24
24
  .panel-body
25
25
  %ul
26
26
  %li
27
- = link_to '[~]', edit_url.call( n )
28
- = button_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
27
+ .float-left= link_to '[~]', edit_url.call( n )
28
+ .float-left= button_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
29
29
  Name: #{n.name}
30
- Desc: #{n.descr}
30
+ %li Desc: #{n.descr}
31
31
  %li Report id: #{n.report_id}
32
32
  %li Gallery id: #{n.gallery_id}
33
33
  %li username: #{n.username}
@@ -8,24 +8,29 @@
8
8
  - if n.photo.gallery.blank?
9
9
  = link_to image_tag( n.photo.photo.url(:small) ), n.photo.photo.url(:large), :rel => 'lightbox[newsitem]'
10
10
  - else
11
- = link_to image_tag( n.photo.photo.url(:small) ), gallery_path( n.photo.gallery.galleryname, n.photo.gallery.photos.index(n.photo) )
11
+ = link_to image_tag( n.photo.photo.url(:small) ), gallery_path( n.photo.gallery.galleryname, n.photo.gallery.photos.index(n.photo) )
12
12
  .meta= render 'ish_manager/photos/meta', :photo => n.photo
13
-
14
- - if !n.report.blank?
15
- .Nreport
16
- %h3= link_to n.report.name, report_path(n.report.name_seo)
13
+
14
+ - if n.report
15
+ .Nreport.newsitem-report
16
+ %ul
17
+ %li <b>Report</b> #{n.report.id}
18
+ %li Premium Tier #{n.report.premium_tier}
19
+ %h5
20
+ = link_to n.report.name, report_path(n.report.name_seo)
21
+ = link_to "[~]", edit_report_path(n.report)
17
22
  .meta
18
- New Report on #{pretty_date n.report.created_at} by #{n.report.username}
23
+ on #{pretty_date n.report.created_at} by #{n.report.username}
19
24
  - unless n.report.photo.blank?
20
25
  .thumb= link_to image_tag(n.report.photo.photo.url(:thumb), :alt => ''), report_path( n.report.name_seo )
21
26
  .subhead= n.report.subhead
22
27
  .c
23
-
28
+
24
29
  - if !n.gallery.blank?
25
30
  .Ngallery
26
31
 
27
32
  %h3= link_to n.gallery.name, gallery_path(n.gallery.galleryname, 0)
28
- .meta
33
+ .meta
29
34
  #{t('newsitems.gallery', :username => n.gallery.username, :date => pretty_date(n.gallery.created_at))}
30
35
  - unless n.gallery.city.blank?
31
36
  = t('cities.in')
@@ -39,7 +44,7 @@
39
44
  = link_to image_tag( photo.photo.url(:thumb), :alt => photo.name ), photo.photo.url(:small), :rel => "lightbox[#{n.gallery.galleryname}]"
40
45
  -# .subhead= n.descr
41
46
  .c
42
-
47
+
43
48
  - if n.video_id
44
49
  - video = Video.unscoped.find n.video_id
45
50
  .Nvideo
@@ -48,10 +53,10 @@
48
53
  = render 'ish_manager/application/meta', :item => video
49
54
  = render 'ish_manager/videos/embed_half', :video => video
50
55
  .c
51
-
56
+
52
57
  - if !n.descr.blank? && n.gallery.blank? && n.report.blank?
53
58
  .Ndescr.panel
54
59
  .meta= pretty_date n.created_at
55
60
  .subhead= simple_format n.descr
56
61
  .c
57
-
62
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.225
4
+ version: 0.1.8.226
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -219,7 +219,6 @@ files:
219
219
  - app/mailers/ish_manager/application_mailer.rb
220
220
  - app/models/ish_manager/ability.rb
221
221
  - app/models/ish_manager/application_record.rb
222
- - app/views/ish_manager/ally/home.haml
223
222
  - app/views/ish_manager/application/_analytics.html
224
223
  - app/views/ish_manager/application/_form_errors.haml
225
224
  - app/views/ish_manager/application/_main_footer.haml
@@ -245,9 +244,6 @@ files:
245
244
  - app/views/ish_manager/cities/new_feature.haml
246
245
  - app/views/ish_manager/cities/new_newsitem.haml
247
246
  - app/views/ish_manager/cities/show.haml
248
- - app/views/ish_manager/co_tailors/_product_form.haml
249
- - app/views/ish_manager/co_tailors/home.haml
250
- - app/views/ish_manager/covered_calls/index.haml
251
247
  - app/views/ish_manager/events/_form.haml
252
248
  - app/views/ish_manager/events/_index.haml
253
249
  - app/views/ish_manager/events/edit.haml
@@ -260,7 +256,6 @@ files:
260
256
  - app/views/ish_manager/features/index.haml
261
257
  - app/views/ish_manager/features/new.haml
262
258
  - app/views/ish_manager/features/show.haml
263
- - app/views/ish_manager/friends/index.haml
264
259
  - app/views/ish_manager/galleries/_form.haml
265
260
  - app/views/ish_manager/galleries/_index.haml
266
261
  - app/views/ish_manager/galleries/_index_thumbs.haml
@@ -277,8 +272,6 @@ files:
277
272
  - app/views/ish_manager/invoices/_form.haml
278
273
  - app/views/ish_manager/invoices/index.haml
279
274
  - app/views/ish_manager/invoices/new.haml
280
- - app/views/ish_manager/iron_condors/_form.haml
281
- - app/views/ish_manager/iron_condors/index.haml
282
275
  - app/views/ish_manager/kaminari/_first_page.html.erb
283
276
  - app/views/ish_manager/kaminari/_gap.html.erb
284
277
  - app/views/ish_manager/kaminari/_last_page.html.erb
@@ -305,7 +298,6 @@ files:
305
298
  - app/views/ish_manager/newsitems/edit.haml
306
299
  - app/views/ish_manager/newsitems/index.haml
307
300
  - app/views/ish_manager/newsitems/new.haml
308
- - app/views/ish_manager/orders/index.haml
309
301
  - app/views/ish_manager/payments/index.haml
310
302
  - app/views/ish_manager/photos/_meta.haml
311
303
  - app/views/ish_manager/photos/_multinew.haml
@@ -340,6 +332,14 @@ files:
340
332
  - app/views/ish_manager/tags/index.haml
341
333
  - app/views/ish_manager/tags/new.haml
342
334
  - app/views/ish_manager/tags/show.haml
335
+ - app/views/ish_manager/trash/ally/home.haml
336
+ - app/views/ish_manager/trash/co_tailors/_product_form.haml
337
+ - app/views/ish_manager/trash/co_tailors/home.haml
338
+ - app/views/ish_manager/trash/covered_calls/index.haml
339
+ - app/views/ish_manager/trash/friends/index.haml
340
+ - app/views/ish_manager/trash/iron_condors/_form.haml
341
+ - app/views/ish_manager/trash/iron_condors/index.haml
342
+ - app/views/ish_manager/trash/orders/index.haml
343
343
  - app/views/ish_manager/user_profiles/_form.haml
344
344
  - app/views/ish_manager/user_profiles/edit.haml
345
345
  - app/views/ish_manager/user_profiles/index.haml
@@ -377,7 +377,7 @@ homepage: http://wasya.co
377
377
  licenses:
378
378
  - MIT
379
379
  metadata: {}
380
- post_install_message:
380
+ post_install_message:
381
381
  rdoc_options: []
382
382
  require_paths:
383
383
  - lib
@@ -393,7 +393,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
393
393
  version: '0'
394
394
  requirements: []
395
395
  rubygems_version: 3.0.6
396
- signing_key:
396
+ signing_key:
397
397
  specification_version: 4
398
398
  summary: Summary of IshManager.
399
399
  test_files: []