govuk_publishing_components 39.2.1 → 39.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +1 -1
- data/app/controllers/govuk_publishing_components/audit_controller.rb +16 -0
- data/app/views/govuk_publishing_components/audit/_applications.html.erb +3 -3
- data/lib/govuk_publishing_components/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: df7fbf03f91c150608c1ff35b2aa7334ece94615df55235111abe06a85cf68f2
|
4
|
+
data.tar.gz: 1694a3f8918b05ad9b53d0790be258b802ea2d516e0e28539c46410c3529308c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6039fe4d93d1739878680bb30734d51d0cb87fc2f4daacbac67c45e0c725d2ba8e149a860f89df943668a88464b5a91e054dcd66c754bc8c92a0538d68a5eac1
|
7
|
+
data.tar.gz: 2d30d358877b81f7d0a91d5fc2ac42d053eb1b77b3f48463f30f672a85133ecc42466bef0caf03814804296328a292c27544439fa158864497dffcd93c59f8aa
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# GOV.UK Publishing Components
|
2
|
-
|
3
|
-
[![status](https://badgen.net/github/status/alphagov/govuk_publishing_components/main)](https://github.com/alphagov/govuk_publishing_components/actions?query=branch%3Amain)
|
2
|
+
[![status](https://github.com/alphagov/govuk_publishing_components/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/alphagov/govuk_publishing_components/actions/workflows/ci.yml?query=branch%3Amain)
|
4
3
|
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
|
5
4
|
[![Stylelint Style Guide](https://img.shields.io/badge/code_style-stylelint-brightgreen.svg)](https://github.com/alphagov/stylelint-config-gds/)
|
6
5
|
|
@@ -447,7 +447,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
447
447
|
var $cell = cells[i]
|
448
448
|
var cellVal = parseFloat(this.utils.stripValue($cell.innerText), 10)
|
449
449
|
var $cellSpan = $cell.querySelector('span')
|
450
|
-
var spanWidth = $cell.querySelector('span').offsetWidth +
|
450
|
+
var spanWidth = $cell.querySelector('span').offsetWidth + 10 // +10 just for extra padding
|
451
451
|
var cellWidth = $cell.offsetWidth
|
452
452
|
|
453
453
|
if (!this.options.stacked) {
|
@@ -2,22 +2,38 @@ module GovukPublishingComponents
|
|
2
2
|
class AuditController < GovukPublishingComponents::ApplicationController
|
3
3
|
def show
|
4
4
|
application_dirs = %w[
|
5
|
+
account-api
|
5
6
|
collections
|
6
7
|
collections-publisher
|
8
|
+
contacts-admin
|
7
9
|
content-data-admin
|
8
10
|
content-publisher
|
11
|
+
content-tagger
|
9
12
|
datagovuk_find
|
10
13
|
email-alert-frontend
|
11
14
|
feedback
|
12
15
|
finder-frontend
|
13
16
|
frontend
|
14
17
|
government-frontend
|
18
|
+
govspeak
|
15
19
|
govspeak-preview
|
20
|
+
govuk-developer-docs
|
21
|
+
local-links-manager
|
22
|
+
manuals-publisher
|
23
|
+
maslow
|
24
|
+
places-manager
|
25
|
+
publisher
|
16
26
|
release
|
17
27
|
search-admin
|
28
|
+
search-v2-evaluator
|
29
|
+
service-manual-publisher
|
30
|
+
short-url-manager
|
18
31
|
signon
|
19
32
|
smart-answers
|
33
|
+
specialist-publisher
|
20
34
|
static
|
35
|
+
support
|
36
|
+
transition
|
21
37
|
travel-advice-publisher
|
22
38
|
whitehall
|
23
39
|
]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<%
|
2
|
-
title = "Applications"
|
2
|
+
title = "Applications (" + @applications.length.to_s + ")"
|
3
3
|
title = "This application" unless ENV["MAIN_COMPONENT_GUIDE"]
|
4
4
|
%>
|
5
5
|
<%= render "govuk_publishing_components/components/heading", {
|
@@ -77,7 +77,7 @@
|
|
77
77
|
None
|
78
78
|
<% end %>
|
79
79
|
<% end %>
|
80
|
-
<%
|
80
|
+
<%
|
81
81
|
items << {
|
82
82
|
field: "#{item[:name]} (#{item[:value].length})",
|
83
83
|
value: content
|
@@ -134,7 +134,7 @@
|
|
134
134
|
} %>
|
135
135
|
<p class="govuk-body">This is a list of components found in this application. Note that some components may appear to be missing files due to inconsistencies in directory structure and naming conventions.</p>
|
136
136
|
<%= render "component_contents", passed_components: application_components, show_application_name: false %>
|
137
|
-
<% end %>
|
137
|
+
<% end %>
|
138
138
|
<% else %>
|
139
139
|
<p class="govuk-body">This application was not found. This could be because you do not have this repository checked out locally.</p>
|
140
140
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 39.2.
|
4
|
+
version: 39.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|