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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f91b368922c8adec1acf6e9d478cab0363663efb8897d09459821df0bc0c0b0
4
- data.tar.gz: bae1a510522ed6c8cbefb23b5d272ca637682fcb2da4923c8416bb15ca3710a5
3
+ metadata.gz: f12e83b0826f21aecfc89708b32d15a34bea7c5d6618c443861114200e15688b
4
+ data.tar.gz: bd43cb9d3e0f498189b55f64753a3f4fd0a0bb5adf42bf48fae656da8e861e3d
5
5
  SHA512:
6
- metadata.gz: be1ced52743e495fbe91de06924229f561bcdfbd96d962ec6ce927970b878cddf38121c69cb4173b919401dc4b0aac17878131fb581d7269f991286851a3af21
7
- data.tar.gz: 14d8b9f0fdb8d227ff343994405b78a653b673cb9417adea229a6f3d9e21c1b07e85c71f9f32720fb47c72df9c46ab2539448010eeca7b9e23b8dd58fb2ce1bd
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-md-6 col-lg-4 col-xl-3 mb-3">
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 d-flex flex-column justify-content-center align-items-center">
13
- <div class="text-center">
14
- <i class="<%= LatoSpaces.config.group_icon %> fs-1"></i><br>
15
- <span class="fw-bold"><%= group.name %></span>
16
- <div class="d-flex justify-content-center align-items-center mt-2">
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-md-6 col-lg-4 col-xl-3 mb-3">
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-md-6 col-lg-4 col-xl-3 mb-3">
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">
@@ -1,3 +1,3 @@
1
1
  module LatoSpaces
2
- VERSION = "3.1.10"
2
+ VERSION = "3.1.12"
3
3
  end
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.10
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-02 00:00:00.000000000 Z
11
+ date: 2023-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails