ishapi 0.1.8.274 → 0.1.8.275

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: 49c9e0fd58805abb48df2abb7e92e8d965bc04b4abae407a094bcd672a6d5576
4
- data.tar.gz: 66b8ccb9f258369876e835f6d60b8e244eeae70c16bbe2a7e9954466104138e9
3
+ metadata.gz: e7a1b5c512f574448b708cc55a48137ff32b142563d9b67de1951a3363a7cbd1
4
+ data.tar.gz: b9dd0e8e035f09f550012369e2738ef8888a65f81c35ac2cff963786a2069be5
5
5
  SHA512:
6
- metadata.gz: ce0b4d2d9c8e9a6185d557a997f6b4484230c5023abd6947532bb5c3e686a220d3e327b40dfbef7ce99c471bcdc9cdd0718545b4d36fa39cf2d259ec77a1b00c
7
- data.tar.gz: eb15ba100fc93ae03e2144e9df6b85ff8428439186bb12507e318085bde3595d342012e696fc053e47ee9ff94747687e2325fa39af0c1b6a8a7f4379822774d8
6
+ metadata.gz: 8a7309b9fab6a3bd6051d374dfb54e012ab1f0663e5303be85fca610becfc8880d55700dbaa265a4152fa6b636ca36bb9b0ece11bd1e4a4a579096a640ef89ac
7
+ data.tar.gz: d86abcca5f1cd34f567c1eef79c6dfeef4580dc62a16141c6913db7cd7315cdda62d32831ca8fd6637f7cfb65d198bcc0ba797147f3275077ee9f678d2f825a7
@@ -33,3 +33,13 @@
33
33
  }
34
34
  }
35
35
 
36
+ .newsitems--show {
37
+
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: center;
41
+
42
+ margin-top: 80px;
43
+ height: 100%;
44
+ }
45
+
@@ -9,13 +9,14 @@
9
9
  - newsitems.each do |newsitem|
10
10
  .Card14
11
11
  - if newsitem.video
12
- [Video]
12
+ [vid]
13
13
  = link_to newsitem.video.name, video_path( newsitem.video )
14
14
  - if newsitem.report
15
- [Report]
15
+ [txt]
16
16
  = link_to newsitem.report.name, report_path( newsitem.report )
17
+ - if newsitem.iframe_src
18
+ = link_to newsitem.name, newsitem_path( newsitem )
17
19
 
18
- = newsitem.name
19
20
  = raw newsitem.descr
20
21
 
21
22
 
@@ -0,0 +1,10 @@
1
+
2
+ - newsitem ||= @newsitem
3
+ .newsitems--show
4
+ .header
5
+ %h2.title= @newsitem.name
6
+ %iframe{ src: newsitem.iframe_src,
7
+ width: "90%",
8
+ height: "90%",
9
+ style: "margin: auto;",
10
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.274
4
+ version: 0.1.8.275
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
@@ -269,6 +269,7 @@ files:
269
269
  - app/views/ishapi/my/videos/index.jbuilder
270
270
  - app/views/ishapi/newsitems/_index.haml
271
271
  - app/views/ishapi/newsitems/_index.jbuilder
272
+ - app/views/ishapi/newsitems/_show.haml
272
273
  - app/views/ishapi/newsitems/_show.haml-trash
273
274
  - app/views/ishapi/newsitems/index.jbuilder
274
275
  - app/views/ishapi/option_price_items/index.jbuilder