effective_committees 0.7.0 → 0.7.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73acb7e4afcaf588a31ea4e43b0e8b87a5f01809190184c3b886458e49acea84
|
|
4
|
+
data.tar.gz: 22dc3c3d8090896218ddf76f03698127ec4f14a4c4cb6247165d229cbfa8ef8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e440e4b631686691497795937aa4957bc487ecd0cadc2e80f52f451f6fb7cdd630ed54288d5fbff8b8ab48352af612b3f1c8a553d94bc85e9cd510bbf59126eb
|
|
7
|
+
data.tar.gz: a40ed0a255a7fdeef2ee10040673de0c67021bd5d0c79e88b17211d1b99263cff62782bff90ce264b459742b5d87002c98d9e453aec878aecfc16e12e1fa2d42
|
|
@@ -6,12 +6,14 @@
|
|
|
6
6
|
- log = logs.first
|
|
7
7
|
|
|
8
8
|
- committee = log.changes_to
|
|
9
|
-
- link_to_committee = link_to(committee, effective_committees.committee_path(committee))
|
|
10
|
-
|
|
11
9
|
- committee_folder = log.associated.try(:committee_folder) || log.associated
|
|
12
|
-
- link_to_committee_folder = link_to(committee_folder, effective_committees.committee_committee_folder_path(committee, committee_folder))
|
|
13
|
-
|
|
14
10
|
- committee_file = log.associated.try(:file).try(:blob)
|
|
11
|
+
|
|
12
|
+
- next if committee.blank?
|
|
13
|
+
- next if committee_folder.blank?
|
|
14
|
+
|
|
15
|
+
- link_to_committee = link_to(committee, effective_committees.committee_path(committee))
|
|
16
|
+
- link_to_committee_folder = link_to(committee_folder, effective_committees.committee_committee_folder_path(committee, committee_folder))
|
|
15
17
|
- link_to_file = link_to(log.associated, (committee_file ? url_for(committee_file) : '#'))
|
|
16
18
|
|
|
17
19
|
- if logs.length == 1 && log.associated_type == 'Effective::CommitteeFolder'
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
.mb-5
|
|
23
23
|
%h3= link_to(committee.to_s, effective_committees.committee_path(committee), style: "text-decoration: none;")
|
|
24
24
|
|
|
25
|
-
-
|
|
25
|
+
- committe_folders = committee.committee_folders.select(&:top_level?)
|
|
26
|
+
|
|
27
|
+
- if committe_folders.present?
|
|
26
28
|
.card
|
|
27
|
-
.list-group.list-
|
|
28
|
-
-
|
|
29
|
+
.list-group.list-group-flush
|
|
30
|
+
- committe_folders.each do |folder|
|
|
29
31
|
= link_to(folder.to_s, effective_committees.committee_committee_folder_path(committee, folder), class: 'list-group-item list-group-action')
|
|
30
32
|
- else
|
|
31
33
|
%p No files or folders.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_committees
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|