Skip to content

Commit

Permalink
customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Nov 2, 2023
1 parent 243e440 commit 64491c1
Show file tree
Hide file tree
Showing 10 changed files with 160 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- staging
pull_request:

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- staging
pull_request:

env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- insert_top '.columns.section.view-side.mediumlarge-4.large-3' -->
<!-- insert_before 'erb[loud]:contains("resource_reference(@proposal)")' -->

<% if show_donate_on_proposal? %>
<%= render "decidim/donate" %>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- replace '.logo-wrapper' -->

<div class="logo-wrapper">
<%= content_tag :svg, role: "img" do
content_tag(:title, current_organization.name) +
content_tag(:use, "", "href" => asset_pack_path("media/images/greenparty-#{locale}.svg") + "#logo")
end %>
</div>
36 changes: 36 additions & 0 deletions app/packs/images/greenparty-en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions app/packs/images/greenparty-fr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions app/packs/stylesheets/decidim/decidim_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
//
// By default this is empty.

.logo-wrapper {
> svg {
height: 45px;
width: auto;
fill: #3d9f3b;
}
}
.wrapper {
&.watch_race {
padding:0;
Expand Down
36 changes: 36 additions & 0 deletions public/greenparty-en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions public/greenparty-fr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
User-agent: *
Disallow: /processes/
Disallow: /assemblies/
Disallow: /conferences/
Disallow: /consultations/
Disallow: /calendar/
Disallow: /meetings/
Disallow: /admin/
Disallow: /system/
Disallow: /pages/
Disallow: /search

0 comments on commit 64491c1

Please sign in to comment.