-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ukparliament/development
Development merge
- Loading branch information
Showing
19 changed files
with
535 additions
and
350 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div class="about-item"> | ||
<h3 class="content-heading">Amendments</h3> | ||
<div> | ||
<ul> | ||
<% amendments.each do |amendment| %> | ||
<li> | ||
<div class="amendment-title"> | ||
<strong>Amendment <%= amendment[:index] + 1 %> - <%= title %></strong> | ||
<span class="amendment-title-ref">(<%= amendment[:reference] %>)</span> | ||
</div> | ||
<div class="amendment-text"><%= amendment[:text] %></div> | ||
Sponsored by <%= amendment[:primary_sponsor] %> (primary, <%= amendment[:primary_sponsor_party] %>) | ||
on <%= amendment[:date_tabled]&.to_date&.strftime(ApplicationHelper::DATE_DISPLAY_FORMAT) %>. It has | ||
been signed by <%= amendment[:number_of_signatures] %> members total.<br><br> | ||
</li> | ||
<% end %> | ||
</ul> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<div style="height: 92px; padding-left: 32px; padding-right: 32px; flex-direction: column; justify-content: center; align-items: center; display: flex"> | ||
<div style="align-self: stretch; height: 92px; padding-top: 16px; padding-bottom: 32px; border-bottom: 0.50px #AAAAAA solid; flex-direction: column; justify-content: flex-start; align-items: center; gap: 10px; display: flex"> | ||
<div style="padding-left: 16px; padding-right: 16px; padding-top: 8px; padding-bottom: 8px; border-radius: 4px; overflow: hidden; border: 1px #2B57AB solid; justify-content: center; align-items: center; gap: 8px; display: inline-flex"> | ||
<div style="color: #2B57AB; font-size: 20px; font-family: Helvetica; font-weight: 400; line-height: 28px; word-wrap: break-word">Back | ||
to top | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="button-container"> | ||
<a class="button-link" href="#top">Back to top</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="about-item"> | ||
<h3 class="content-heading">Legislation</h3> | ||
<% legislation.each do |legislation| %> | ||
<%= link_to legislation.to_s.titleize, '/' %> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="about-item"> | ||
<h3 class="content-heading">Links</h3> | ||
<%= link_to 'View this early day motion on edm.parliament.uk', object.external_location_uri %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="about-item"> | ||
<h3 class="content-heading">Other supporters</h3> | ||
<ul> | ||
<% supporters.each do |supporter| %> | ||
<li>- <%= link_to supporter, '/' %></li> | ||
<% end %> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!--No data currently available to test--> | ||
|
||
<div class="about-item"> | ||
<h3 class="content-heading">Related items</h3> | ||
<div> | ||
<%= link_to 'Food and Drink Act 2023', '/' %><br/> | ||
Thursday, 2 February 2023 | Public acts | ||
</div> | ||
<div> | ||
<%= link_to 'Privacy Act 2023', '/' %><br/> | ||
Thursday, 2 February 2023 | Public acts | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<div id="subjects"> | ||
<h2>Subjects</h2> | ||
<ul> | ||
<div class="about-item"> | ||
<h3 class="content-heading">Subjects</h3> | ||
<div class="pill-section"> | ||
<% subjects.each do |subject| %> | ||
<li><%= object_link(subject, '/') %></li> | ||
<div class="pill-wrapper"> | ||
<div class="subject-pill"><%= subject.to_s.titleize %></div> | ||
</div> | ||
<% end %> | ||
</ul> | ||
</div> | ||
</div> |
Oops, something went wrong.