ishapi 0.1.8.267 → 0.1.8.268

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9fe7f657a535734b42afe4664280c3991898a6bfff798f9481f16ddad82a13b
4
- data.tar.gz: dfaaba6bbdb613b2ebbf29fab8be7a1abbc67d146b05c08818745dfa4ecb942e
3
+ metadata.gz: '095276ab362796b31c3d2e2320f2d6dcb6137471a9923f79c70e471a5af41a71'
4
+ data.tar.gz: 381555df5c0b9324c8cff9c31d4b4192240ed55dcdf9c27f2babb28692252039
5
5
  SHA512:
6
- metadata.gz: 1a2edb2bd8633da8579d7df26ba54453d6aef2da51a32164d2cb0ce3f04c37ccb7f624fa4395b5a4f7d67ebe6de2f632eb0259b4c72dbbae325bb4bd09a97f20
7
- data.tar.gz: 0ac48eea6494d7b4d20a8d76fe64d07c937b861cc0682b057dd4b0f486d02138fcbd7dd19f12951a11557197ceeb2e81e1a813b0660a487e7b58423853896775
6
+ metadata.gz: d83e32d7e6b5a0e5ac5a76d914c2315fd6ee26a1b0f2800f6f7bfb7c760be351a65d3c41741f9badca1e36792e7bfb1b7c13d6145c38cee5e97159fd268b7491
7
+ data.tar.gz: 5a633c0e8cec290423faa0479cb484f959f44f50565201223525f1826ae6fa0226b91148eba42c9ebeff8337a462a1360077f8ab41d404a75833d530ffe4c790
@@ -13,4 +13,23 @@
13
13
  *= require_self
14
14
  *= require ./galleries.scss
15
15
  *= require ./locations.scss
16
- */
16
+ **/
17
+
18
+
19
+ .my-row { /* necessarily no-wrap */
20
+ display: flex;
21
+ flex-wrap: no-wrap;
22
+
23
+ > * {
24
+ margin-right: 10px;
25
+ }
26
+ }
27
+
28
+ .newsitems--index {
29
+ .items {
30
+ > * {
31
+ margin-bottom: .5em;
32
+ }
33
+ }
34
+ }
35
+
@@ -0,0 +1,12 @@
1
+
2
+ .metaline
3
+
4
+ <b>On</b> #{item.created_at.to_s[0...10]}
5
+ - if item.user_profile
6
+ <b>By</b> #{item.user_profile.name}
7
+
8
+ -# - if item.tags.length > 0
9
+ -# <b>Tags:</b> #{ item.tags.map(&:name).join(', ') }
10
+
11
+ - if defined?(item.premium_tier) && item.premium_tier > 0
12
+ <b>Tier $#{item.premium_tier}</b>
@@ -0,0 +1,18 @@
1
+
2
+
3
+ %section.newsitems.newsitems--index
4
+
5
+ .header
6
+ %h3.title Newsitems
7
+
8
+ .items
9
+ - newsitems.each do |newsitem|
10
+ .Card14
11
+ - if newsitem.video
12
+ \[Video]
13
+ = link_to newsitem.video.name, video_path( newsitem.video )
14
+ = newsitem.name
15
+ = raw newsitem.descr
16
+ = newsitem.video.inspect rescue nil
17
+
18
+
@@ -0,0 +1,5 @@
1
+
2
+ .newsitems--show
3
+ .Card14.item
4
+ = newsitem.name
5
+ = raw newsitem.descr
@@ -0,0 +1,22 @@
1
+
2
+ .videos-show.max-width
3
+ .row
4
+
5
+ - if video.youtube_id.present?
6
+ %iframe{:allowfullscreen => "", :frameborder => "0", :height => "315", :src => "//www.youtube.com/embed/#{video.youtube_id}", :width => "560"}
7
+ - else
8
+ %iframe{:allowfullscreen => "true", :frameborder => "0", :height => "480", :src => "#{video.video.url}", :width => "640"}
9
+
10
+ .my-row
11
+ .a= image_tag video.thumb.url(:thumb)
12
+ .a
13
+ %h3
14
+ = video.name.blank? ? t('videos.rno_title') : video.name
15
+ -# .meta-edit
16
+ -# .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
17
+ -# = link_to '[~]', edit_video_path( video )
18
+
19
+ = render 'ishapi/application/metaline', :item => video
20
+ .flex-row
21
+ Download File:&nbsp;#{link_to video.video_file_name, video.video.url}
22
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.267
4
+ version: 0.1.8.268
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-29 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -241,6 +241,7 @@ files:
241
241
  - app/models/ishapi/ability.rb
242
242
  - app/views/ishapi/addresses/_show.jbuilder
243
243
  - app/views/ishapi/application/_meta.jbuilder
244
+ - app/views/ishapi/application/_metaline.haml
244
245
  - app/views/ishapi/application/_pagination.jbuilder
245
246
  - app/views/ishapi/application_mailer/forwarder_notify.html.erb
246
247
  - app/views/ishapi/email_contexts/summary.csv.erb
@@ -266,7 +267,9 @@ files:
266
267
  - app/views/ishapi/markers/_card.haml
267
268
  - app/views/ishapi/markers/_index.jbuilder
268
269
  - app/views/ishapi/my/videos/index.jbuilder
270
+ - app/views/ishapi/newsitems/_index.haml
269
271
  - app/views/ishapi/newsitems/_index.jbuilder
272
+ - app/views/ishapi/newsitems/_show.haml-trash
270
273
  - app/views/ishapi/newsitems/index.jbuilder
271
274
  - app/views/ishapi/option_price_items/index.jbuilder
272
275
  - app/views/ishapi/option_price_items/view.jbuilder
@@ -287,6 +290,7 @@ files:
287
290
  - app/views/ishapi/user_profiles/show.jbuilder
288
291
  - app/views/ishapi/user_profiles/show.jbuilder-bk
289
292
  - app/views/ishapi/videos/_index.jbuilder
293
+ - app/views/ishapi/videos/_show.haml
290
294
  - app/views/ishapi/videos/_show.jbuilder
291
295
  - app/views/ishapi/videos/index.jbuilder
292
296
  - app/views/layouts/ishapi/application.html.haml