lato_spaces 3.1.10 → 3.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/lato_spaces/application/index.html.erb +10 -8
- data/lib/lato_spaces/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f12e83b0826f21aecfc89708b32d15a34bea7c5d6618c443861114200e15688b
|
4
|
+
data.tar.gz: bd43cb9d3e0f498189b55f64753a3f4fd0a0bb5adf42bf48fae656da8e861e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a35591b29ddcc5ff66049b79138ae0fd2992b5c4e50e79fb5cb1023681e0dd41823b8cc1ca47df2e985909cefcf4aa0c1bfb27e39175a15aa022e5f2365763
|
7
|
+
data.tar.gz: cbef94da69e3eb4f9eaa3807706d35a457f5c9ba32e41f67ea04c2b83a532656994ab3303d0d789c5449e6f0fb983670eefe5195707d14c264b39d00fcb0cf48
|
@@ -7,13 +7,15 @@
|
|
7
7
|
<% @groups.each do |group| %>
|
8
8
|
<% is_selected = @session.get(:spaces_group_id)&.to_i == group.id %>
|
9
9
|
|
10
|
-
<div class="col col-12 col-
|
10
|
+
<div class="col col-12 col-lg-6 col-lg-4 col-xl-3 mb-3">
|
11
11
|
<div class="card h-100 border border-4 <%= is_selected ? 'border-success' : 'border-light' %>">
|
12
|
-
<div class="card-body
|
13
|
-
<div class="
|
14
|
-
<
|
15
|
-
|
16
|
-
|
12
|
+
<div class="card-body">
|
13
|
+
<div class="d-flex align-items-center justify-content-between d-lg-block">
|
14
|
+
<div class="d-flex align-items-center d-lg-block text-center">
|
15
|
+
<i class="<%= LatoSpaces.config.group_icon %> fs-1 me-2 me-lg-0"></i><br>
|
16
|
+
<span class="fw-bold"><%= group.name %></span>
|
17
|
+
</div>
|
18
|
+
<div class="d-flex justify-content-center align-items-center mt-lg-2">
|
17
19
|
<% if @session.user.lato_spaces_admin || LatoSpaces.config.permit_group_management %>
|
18
20
|
<%= link_to lato_spaces.groups_show_path(group), class: "btn btn-light me-1", data: { turbo_frame: '_top' } do %>
|
19
21
|
<i class="bi bi-gear"></i>
|
@@ -30,7 +32,7 @@
|
|
30
32
|
<% end %>
|
31
33
|
|
32
34
|
<% if @session.user.lato_spaces_admin %>
|
33
|
-
<div class="col col-12 col-
|
35
|
+
<div class="col col-12 col-lg-6 col-lg-4 col-xl-3 mb-3">
|
34
36
|
<%= link_to lato_spaces.groups_path, class: 'card border border-4 border-primary bg-primary text-white text-decoration-none h-100' do %>
|
35
37
|
<div class="card-body d-flex flex-column justify-content-center align-items-center">
|
36
38
|
<div class="text-center">
|
@@ -41,7 +43,7 @@
|
|
41
43
|
<% end %>
|
42
44
|
</div>
|
43
45
|
<% elsif LatoSpaces.config.permit_group_creation %>
|
44
|
-
<div class="col col-12 col-
|
46
|
+
<div class="col col-12 col-lg-6 col-lg-4 col-xl-3 mb-3">
|
45
47
|
<%= link_to lato_spaces.groups_create_path, class: 'card border border-4 border-primary bg-primary text-white text-decoration-none h-100', data: { lato_action_target: 'trigger', turbo_frame: dom_id(LatoSpaces::Group.new, 'form'), action_title: I18n.t('lato_spaces.new_group') } do %>
|
46
48
|
<div class="card-body d-flex flex-column justify-content-center align-items-center">
|
47
49
|
<div class="text-center">
|
data/lib/lato_spaces/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lato_spaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|