Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clipped header text in request listing #120

Open
wants to merge 388 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
388 commits
Select commit Hold shift + click to select a range
6e7ebba
Delete homepage-background.png
Ellewe Apr 9, 2020
0e1114e
Delete homepage-background-small.jpg
Ellewe Apr 9, 2020
32603ad
Add files via upload
Ellewe Apr 9, 2020
330dce9
Add files via upload
Ellewe Apr 9, 2020
7bea20e
Update _nav_items.html.erb
Ellewe Apr 9, 2020
252b8f5
Update contact.sv.html.erb
Ellewe Apr 16, 2020
f2b837a
Update contact.sv.html.erb
Ellewe Apr 16, 2020
68b4bee
Update contact.sv.html.erb
Ellewe Apr 16, 2020
cbe26df
Update contact.sv.html.erb
Ellewe Apr 16, 2020
17a338a
Update contact.sv.html.erb
Ellewe Apr 16, 2020
aef2685
Update contact.sv.html.erb
Ellewe Apr 16, 2020
6a8ec0b
Uppdatera pro och ändra embargo till privat
mattiasaxell Apr 16, 2020
606d8a0
Uppdatera ytterligare embargo till privat
mattiasaxell Apr 16, 2020
a82d916
Update _nav_items.html.erb
Ellewe Apr 24, 2020
e819a37
Delete donate.html.erb
Ellewe Apr 24, 2020
9426aea
Delete companies.sv.html.erb
Ellewe Apr 24, 2020
3fb08f7
Update _nav_items.html.erb
Ellewe Apr 24, 2020
6af2ded
Update about.sv.html.erb
Ellewe Apr 24, 2020
cc51694
Update about.html.erb
Ellewe Apr 24, 2020
2daf43c
Update _nav_items.html.erb
Ellewe Apr 24, 2020
a30daa1
Update officers.sv.html.erb
Ellewe Apr 27, 2020
fd8ff99
Delete merch.html.erb
Ellewe Aug 31, 2020
4a7ebf0
Delete nonprofits.html.erb
Ellewe Aug 31, 2020
08e5ba7
Delete donate.sv.html.erb
Ellewe Aug 31, 2020
d9459b8
Delete nonprofits.sv.html.erb
Ellewe Aug 31, 2020
9acac65
Delete merch.sv.html.erb
Ellewe Aug 31, 2020
4988a91
Update privacy.sv.html.erb
Ellewe Sep 2, 2020
0deeeb6
Update privacy.sv.html.erb
Ellewe Sep 2, 2020
10e5a4a
Update privacy.sv.html.erb
Ellewe Sep 3, 2020
9766d11
Update privacy.html.erb
Ellewe Sep 3, 2020
111627d
Update privacy.sv.html.erb
Ellewe Sep 3, 2020
3cdfb05
Update officers.sv.html.erb
Ellewe Sep 3, 2020
b69a4d5
Update officers.sv.html.erb
Ellewe Sep 3, 2020
bb916c9
Update officers.sv.html.erb
Ellewe Sep 3, 2020
64bb592
Update officers.sv.html.erb
Ellewe Sep 3, 2020
575710a
Update officers.sv.html.erb
Ellewe Sep 3, 2020
a302a46
Update officers.sv.html.erb
Ellewe Sep 3, 2020
ab507fd
Update officers.sv.html.erb
Ellewe Sep 3, 2020
3fdc66a
Update officers.sv.html.erb
Ellewe Sep 3, 2020
1d8023e
Update officers.sv.html.erb
Ellewe Sep 3, 2020
9b22083
Update about.sv.html.erb
Ellewe Sep 19, 2020
8c45ec6
Update about.html.erb
Ellewe Sep 19, 2020
0ee1fc2
Update pro.sv.html.erb
Ellewe Oct 31, 2020
643067b
Update privacy.sv.html.erb
Ellewe Jan 18, 2021
542a690
Update about.sv.html.erb
Ellewe Jan 18, 2021
23b61ef
Update alaveteli.sv.html.erb
Ellewe Jan 18, 2021
eb24420
Update api.sv.html.erb
Ellewe Jan 18, 2021
1c07763
Update credits.sv.html.erb
Ellewe Jan 18, 2021
f644f07
Update officers.sv.html.erb
Ellewe Jan 18, 2021
72fda9e
Update requesting.sv.html.erb
Ellewe Jan 18, 2021
dcaa3a2
Update about.sv.html.erb
Ellewe Jan 19, 2021
896f4c0
Update credits.sv.html.erb
Ellewe Jan 19, 2021
d28a122
Update _nav_items.html.erb
Ellewe Feb 8, 2021
eaf4829
Update _nav_items.html.erb
Ellewe Feb 8, 2021
97acf34
Create pages
Ellewe Feb 16, 2021
a199775
Create _new_request_advice.html.erb
Ellewe Feb 16, 2021
359a38e
Create _new_request_advice.sv.html.erb
Ellewe Feb 16, 2021
a732453
Delete pages
Ellewe Feb 16, 2021
6474620
Create _legal.html.erb
Ellewe Feb 16, 2021
2c3459e
Create _legal.sv.html.erb
Ellewe Feb 16, 2021
46cb2b6
Update _legal.sv.html.erb
Ellewe Feb 16, 2021
9a838a3
Update _legal.html.erb
Ellewe Feb 16, 2021
19d1c3f
Update _nav_items.html.erb
Ellewe Feb 16, 2021
187d45c
Update _legal.sv.html.erb
Ellewe Feb 16, 2021
342a377
Create legal.html.erb
Ellewe Feb 17, 2021
348c3ec
Create legal.sv.html.erb
Ellewe Feb 17, 2021
fe0b6aa
Update _legal.sv.html.erb
Ellewe Feb 17, 2021
4dcb81c
Update _nav_items.html.erb
Ellewe Feb 17, 2021
4d5df42
Update pro.sv.html.erb
Ellewe Feb 17, 2021
46e1308
Update _legal.html.erb
Ellewe Feb 17, 2021
90bfcf8
Update legal.html.erb
Ellewe Feb 17, 2021
f7b272c
Create index.html.erb
Ellewe Feb 17, 2021
3422b69
Create index.sv.html.erb
Ellewe Feb 17, 2021
fb6c954
Create show.html.erb
Ellewe Feb 17, 2021
72305f4
Create show.sv.html.erb
Ellewe Feb 17, 2021
e812d22
Update contact.sv.html.erb
Ellewe Feb 17, 2021
01fe015
Update pro.sv.html.erb
Ellewe Feb 20, 2021
61bc162
Update about.sv.html.erb
Ellewe Feb 20, 2021
6c356e2
Update privacy.sv.html.erb
Ellewe Feb 20, 2021
3263d5f
Update privacy.sv.html.erb
Ellewe Feb 20, 2021
b4c9426
Update officers.sv.html.erb
Ellewe Feb 20, 2021
277ae3a
Update privacy.sv.html.erb
Ellewe Feb 20, 2021
b641a7a
Update _nav_items.html.erb
Ellewe Feb 20, 2021
6927415
Create alaveteli-pro
Ellewe Feb 20, 2021
45a63fa
Delete alaveteli-pro
Ellewe Feb 20, 2021
3d228e6
Create placeholder
Ellewe Feb 20, 2021
5b56173
Update _nav_items.html.erb
Ellewe Feb 21, 2021
611eefb
Update about.sv.html.erb
Ellewe Feb 21, 2021
094f305
Update about.sv.html.erb
Ellewe Feb 21, 2021
5ab9221
Update about.sv.html.erb
Ellewe Feb 21, 2021
d0f2672
Update requesting.sv.html.erb
Ellewe Feb 21, 2021
0e91e1a
Update officers.sv.html.erb
Ellewe Feb 21, 2021
532f839
Update credits.sv.html.erb
Ellewe Feb 21, 2021
05dc892
Delete app/assets/alaveteli-pro directory
Ellewe Feb 21, 2021
becb54b
Create placeholder
Ellewe Feb 21, 2021
1320bc5
commit changes to test matomo
mattiasaxell Feb 23, 2021
d080068
Local merge of https://github.com/handlingar/handlingar-theme/pull/1
ybin64 Mar 9, 2021
ee88892
Rename placeholder to screenshot-batch-list.jpg
Ellewe Mar 24, 2021
389fa03
Create screenshot-batch-privacy.jpg
Ellewe Mar 24, 2021
5be1449
Create screenshot-batch-selection.jpg
Ellewe Mar 24, 2021
e9a4506
Create screenshot-batch-write.jpg
Ellewe Mar 24, 2021
9232397
Create screenshot-dashboard.jpg
Ellewe Mar 24, 2021
4e454e4
Create screenshot-embargo-extension.jpg
Ellewe Mar 24, 2021
33be931
Create screenshot-embargo-publish.jpg
Ellewe Mar 24, 2021
3be8199
Create screenshot-embargo.jpg
Ellewe Mar 24, 2021
1623182
Create screenshot-requests.jpg
Ellewe Mar 24, 2021
3ac375b
Add files via upload
Ellewe Mar 24, 2021
68ad2b4
Add files via upload
Ellewe Mar 24, 2021
227c40a
Add files via upload
Ellewe Mar 24, 2021
37cd3bd
Add files via upload
Ellewe Mar 24, 2021
fdf2d90
Add files via upload
Ellewe Mar 24, 2021
ac2a02b
Add files via upload
Ellewe Mar 24, 2021
109e7f3
Add files via upload
Ellewe Mar 24, 2021
1d07d21
Add files via upload
Ellewe Mar 24, 2021
2110003
Add files via upload
Ellewe Mar 24, 2021
8a368ee
Add files via upload
Ellewe Mar 24, 2021
ec8993a
Update unhappy.sv.html.erb
Ellewe Apr 13, 2021
fa6ddf4
Update unhappy.sv.html.erb
Ellewe Apr 13, 2021
d36ea4a
Update unhappy.sv.html.erb
Ellewe Apr 20, 2021
d5413d1
Update about.sv.html.erb
Ellewe Apr 20, 2021
af2fea7
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
4f33e6b
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
e5ba0b1
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
7f4b79d
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
adbefe7
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
897ce26
Update requesting.sv.html.erb
Ellewe Apr 20, 2021
7b61162
Update privacy.sv.html.erb
Ellewe Apr 20, 2021
50c3822
Update pro.sv.html.erb
Ellewe Apr 21, 2021
20b2a9c
Update about.sv.html.erb
Ellewe Apr 21, 2021
88e2baf
Update _settings.scss
Ellewe Apr 21, 2021
b8ab4bb
Update _sidebar.sv.html.erb
Ellewe Apr 21, 2021
245b749
Update _why_they_should_reply_by_email.sv.html.erb
Ellewe Apr 21, 2021
ebba5ce
Update about.sv.html.erb
Ellewe Apr 25, 2021
8b70016
Update about.sv.html.erb
Ellewe Apr 25, 2021
ff46baa
Update officers.sv.html.erb
Ellewe Apr 25, 2021
383daaa
Update requesting.sv.html.erb
Ellewe Apr 25, 2021
4cc1deb
Update officers.sv.html.erb
Ellewe Apr 25, 2021
379125b
Update privacy.sv.html.erb
Ellewe May 19, 2021
07e234d
Update privacy.sv.html.erb
Ellewe May 19, 2021
cb60a36
Update requesting.sv.html.erb
Ellewe Jun 3, 2021
b2c676b
Update requesting.sv.html.erb
Ellewe Jun 3, 2021
735726f
Update about.sv.html.erb
Ellewe Jun 3, 2021
271ca3b
Update requesting.sv.html.erb
Ellewe Aug 24, 2021
168bc56
Update privacy.sv.html.erb
Ellewe Aug 24, 2021
e689066
Lägg till donationslänk
Ellewe Oct 27, 2021
528d781
Update officers.sv.html.erb
Ellewe Oct 29, 2021
b8b232d
Update pro.sv.html.erb
Ellewe Oct 29, 2021
1f0f45e
Update about.sv.html.erb
Ellewe Oct 29, 2021
b0c3de7
Rename unhappy.html.erb to unhappy.en.html.erb
Ellewe Oct 29, 2021
a9ca76c
Rename requesting.html.erb to requesting.en.html.erb
Ellewe Oct 29, 2021
6fd2497
Rename pro.html.erb to pro.en.html.erb
Ellewe Oct 29, 2021
81e26ca
Rename privacy.html.erb to privacy.en.html.erb
Ellewe Oct 29, 2021
8f2c5b6
Rename officers.html.erb to officers.en.html.erb
Ellewe Oct 29, 2021
3e44b8c
Rename credits.html.erb to credits.en.html.erb
Ellewe Oct 29, 2021
542eb54
Rename contact.html.erb to contact.en.html.erb
Ellewe Oct 29, 2021
a1eaa33
Rename api.html.erb to api.en.html.erb
Ellewe Oct 29, 2021
0c19586
Rename _sidebar.html.erb to _sidebar.en.html.erb
Ellewe Oct 29, 2021
74d3fdc
Rename _why_they_should_reply_by_email.html.erb to _why_they_should_r…
Ellewe Oct 29, 2021
30be40c
Rename about.html.erb to about.en.html.erb
Ellewe Oct 29, 2021
5be646b
Rename alaveteli.html.erb to alaveteli.en.html.erb
Ellewe Oct 29, 2021
9f8495a
Update about.sv.html.erb
Ellewe Oct 29, 2021
7805c15
Update about.en.html.erb
Ellewe Oct 29, 2021
72bdaff
Update requesting.en.html.erb
Ellewe Oct 29, 2021
09df9de
Update about.sv.html.erb
mattiasaxell Oct 29, 2021
145f930
Update privacy.en.html.erb
Ellewe Oct 29, 2021
71d0ae5
Update requesting.sv.html.erb
Ellewe Oct 29, 2021
57efa81
Ansvariga utgivare
Ellewe Oct 30, 2021
33b22b8
update to localize
mattiasaxell Oct 31, 2021
333d7f9
temporary fix for housing rules
mattiasaxell Oct 31, 2021
61875ae
fix donation url
mattiasaxell Oct 31, 2021
62b6623
Update about.en.html.erb
mattiasaxell Oct 31, 2021
0599cfb
try to fix about pages
Oct 31, 2021
50e413e
trying more fixes to remove obsolete paths
Oct 31, 2021
2cf0950
Update requesting.sv.html.erb
Ellewe Nov 21, 2021
872433b
Create terms_of_use.html.erb
Ellewe Feb 3, 2022
8a6666d
Create terms of use.html.sv.erb
Ellewe Feb 3, 2022
e5cf74b
Rename terms of use.html.sv.erb to terms_of_use.html.sv.erb
Ellewe Feb 3, 2022
b097d3d
Update terms_of_use.html.sv.erb
Ellewe Feb 3, 2022
6ef4d61
Update terms_of_use.html.sv.erb
Ellewe Feb 3, 2022
72ee3e9
Update terms_of_use.html.sv.erb
Ellewe Feb 3, 2022
0c33a50
Update terms_of_use.html.erb
Ellewe Feb 3, 2022
db841ea
Update terms_of_use.html.erb
Ellewe Feb 4, 2022
60ba961
Update sidebar with terms of use in Swedish
mattiasaxell Feb 8, 2022
9b5e8a3
Updating sidebar in English with terms of use
mattiasaxell Feb 8, 2022
d4c00eb
Update for fix with help
mattiasaxell Feb 8, 2022
53e4e09
Update with fix for help pages swedish
mattiasaxell Feb 8, 2022
0f92d67
Fix name title of en terms of use
mattiasaxell Feb 8, 2022
fa3303f
change title from html.sv.erb to sv.html.erb
mattiasaxell Feb 8, 2022
296ce05
Rename terms_of_use.sv.html.erb to terms.sv.html.erb
Ellewe Feb 9, 2022
cfe74a6
Rename terms_of_use.en.html.erb to terms.en.html.erb
Ellewe Feb 9, 2022
bf805d8
Add terms for page terms of use
mattiasaxell Feb 9, 2022
b21a739
Fixes on terms and instructions
mattiasaxell Feb 9, 2022
dbaebfc
Update fixes of language to terms
mattiasaxell Feb 9, 2022
35614d8
Complete with English translation
mattiasaxell Feb 9, 2022
42976e1
change terms_of_use to terms
mattiasaxell Feb 9, 2022
a34256c
change terms_of_use to terms
mattiasaxell Feb 9, 2022
4f12314
fix row
mattiasaxell Feb 9, 2022
10efc33
Update terms.sv.html.erb
Ellewe Feb 9, 2022
8b70961
Update terms.sv.html.erb
Ellewe Feb 9, 2022
70507dc
Change links to external forum
mattiasaxell Feb 9, 2022
52dcad3
Update about.sv.html.erb
Ellewe Feb 9, 2022
f4aef6a
closing div
mattiasaxell Feb 9, 2022
82b08b2
Closing div tag
mattiasaxell Feb 9, 2022
71446ea
fix dd, dt dl
mattiasaxell Feb 9, 2022
ed50c1e
Fix dl, dt, dd
mattiasaxell Feb 9, 2022
df103a7
testing updating branch
mattiasaxell Feb 9, 2022
ef38b99
Fix div
mattiasaxell Feb 9, 2022
96157da
Update structure from WDTK
Ellewe Feb 10, 2022
07c0c7b
update structure from WDTK
Ellewe Feb 10, 2022
1ffc73b
Update terms.en.html.erb
Ellewe Feb 10, 2022
de70674
Update terms.sv.html.erb
Ellewe Feb 10, 2022
712d045
Adding dot where needed.
mattiasaxell Feb 10, 2022
2bae766
Fix space @title
mattiasaxell Feb 10, 2022
03dcf13
Fix space @ title
mattiasaxell Feb 10, 2022
8a41cd6
fix space
mattiasaxell Feb 10, 2022
5a4e8c1
Update terms.en.html.erb
Ellewe Feb 10, 2022
2ac5578
Update terms.en.html.erb
Ellewe Feb 10, 2022
03e15c2
standardize paragraphs
mattiasaxell Feb 10, 2022
9587774
Standardize according to en
mattiasaxell Feb 10, 2022
ea50600
Test with example
mattiasaxell Feb 10, 2022
e34d9cd
Fix t typo
mattiasaxell Feb 10, 2022
9d5f723
Test from recommendation
mattiasaxell Mar 23, 2022
ac617be
add history
mattiasaxell Mar 23, 2022
d0b4613
Test with method
mattiasaxell Mar 23, 2022
c351cb8
going back for feedback but no method
mattiasaxell Mar 23, 2022
0b0eca0
Fix NoMethodError exception
gbp Mar 24, 2022
190967a
Merge pull request #2 from gbp/patch-2
mattiasaxell Mar 24, 2022
70f9ac4
remove history
mattiasaxell Mar 24, 2022
f14f313
remove render history
mattiasaxell Mar 24, 2022
843aeef
Fix language and/or
mattiasaxell Mar 24, 2022
57f462f
Fix language
mattiasaxell Mar 24, 2022
4a71745
optimize bg images
Sep 8, 2022
cb9f1c7
Create FUNDING.yml
mattiasaxell Jan 18, 2023
619be3c
Change color on dev branch
erikjaderberg Jan 9, 2024
dd386e6
Change color again
erikjaderberg Jan 9, 2024
623a215
Update README.md
mattiasaxell Jan 16, 2024
b1c618a
Update README.md
mattiasaxell Jan 16, 2024
eff70da
Update README.md
mattiasaxell Jan 16, 2024
c746090
Update _nav_items.html.erb
gjonor Jan 23, 2024
d857690
Update app.po
gjonor Jan 23, 2024
4a4a470
Update _nav_items.html.erb
gjonor Jan 23, 2024
244c728
Merge remote-tracking branch 'origin/dev'
erikjaderberg Mar 26, 2024
64a3662
Fixed back css files
erikjaderberg Mar 26, 2024
9899df7
10 lankfarg framsida plattform (#10)
roztownsend May 7, 2024
71936bc
bump up line height
roztownsend May 10, 2024
e5fa7ed
routing fixes
roztownsend Jun 12, 2024
81d2d30
Create user_spam_scorer.rb
mattiasaxell Sep 9, 2024
03dcc23
adding fix to embedded RSS feed
Nov 19, 2024
dbf7bc9
Update exception_caught.sv.html.erb
mattiasaxell Dec 4, 2024
9674ef5
add fixes for spam signup protection
mattiasaxell Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: handlingarse # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: handlingar # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
/sqlitedbs
/cache
/old-cache
/.vscode
.*.swp
*~
*#*#
TAGS
*.sw[a-z]
*DONT-CHECKIN*
34 changes: 34 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@


DIFF_FILE_HSE = general/_before_body_end.html.erb
DIFF_FILE_HSE = general/_before_head_end.html.erb
DIFF_FILE_HSE = general/_credits.html.erb
DIFF_FILE_HSE = general/_credits.sv.html.erb
DIFF_FILE_HSE = general/_orglink.html.erb
DIFF_FILE_HSE = general/_popup_banner.html.erb
DIFF_FILE_HSE = general/exception_caught.html.erb
DIFF_FILE_HSE = general/mycontroller.html.erb


DIFF_FILE_HSE = help/_sidebar.html.erb
DIFF_FILE_HSE = help/_why_they_should_reply_by_email.html.erb
DIFF_FILE_HSE = help/about.html.erb
DIFF_FILE_HSE = help/alaveteli.html.erb
DIFF_FILE_HSE = help/api.html.erb
DIFF_FILE_HSE = help/contact.html.erb
DIFF_FILE_HSE = help/credits.html.erb
DIFF_FILE_HSE = help/officers.html.erb
DIFF_FILE_HSE = help/privacy.html.erb
DIFF_FILE_HSE = help/pro.html.erb
DIFF_FILE_HSE = help/requesting.html.erb
DIFF_FILE_HSE = help/unhappy.html.erb


diff-theme:
#git diff --no-index -w ./lib/views/$(DIFF_FILE_HSE) ../alaveteli/app/views/$(DIFF_FILE_HSE)
git diff --no-index ./lib/views/$(DIFF_FILE_HSE) ../alavetelitheme/lib/views/$(DIFF_FILE_HSE)


copy-a:
cp ../alaveteli/app/views/$(DIFF_FILE_HSE) ./lib/views/$(DIFF_FILE_HSE)

20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Handlingar Theme
==============

Create pull request from [alavetelitheme master branch](https://github.com/mysociety/alavetelitheme/tree/master) to our [dev](https://github.com/handlingar/handlingar-theme/tree/dev) branch.

Then do your suggested changes and pushed into [dev](https://github.com/handlingar/handlingar-theme/tree/dev) branch.

Test these changes on the development server.

If everything from [dev](https://github.com/handlingar/handlingar-theme/tree/dev) branch works correctly on development server we then do a Pull Request (PR) to [main](https://github.com/handlingar/handlingar-theme/tree/main) branch.

Then we push [main](https://github.com/handlingar/handlingar-theme/tree/main) branch to production server.

### Deploy updates on development server or production server
Use the following instructions to deploy changes that have been made. See this [link](https://gitlab.com/handlingar/handlingar/-/wikis/Uppdatera-tema) from Handlingar Wiki.

Read more about project work order at: [Handlingar Wiki](https://gitlab.com/handlingar/handlingar/-/wikis/)

This theme is based on Alavetelitheme example theme. Read more below.

Alavetelitheme
==============

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/homepage-background-small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/homepage-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions app/assets/stylesheets/responsive/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ $logo-height: 44px;

$color_sand: #f3f1eb;
$color_black: #333333;
$color_orange: #f4a140;
$color_blue: #4faded;
$color_orange: #E6722A;
$color_blue: #100467;
$color_green: #62b356;
$color_yellow: #ffd836;
$color_red: #e04b4b;
Expand All @@ -26,10 +26,11 @@ $color_dark_grey: #6c6b68;

$color_neutral_light: $color_sand;
$color_neutral_dark: $color_black;
$color_primary: $color_violet;
$color_secondary: $color_orange;
$color_primary: $color_orange;
$color_secondary: $color_dark_grey;

$body-bg: $color_neutral_light;
$topnav_bg: #E6722A;

$body-font-color: $color_neutral_dark;
$link-color: darken($color_blue, 20%);
Expand All @@ -49,5 +50,4 @@ $notice-color: $color_green;
$error-color: $color_red;
$action-color: $color_orange;

$banner_inner_bg: $color_primary;
$topnav_bg: darken($color_primary, 10%);
$banner_inner_bg: $color_orange;
32 changes: 19 additions & 13 deletions app/assets/stylesheets/responsive/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
/* General styling of nav menu items */
%menu-item {
text-decoration: none;
color: transparentize($color_white, 0.2);
color: transparentize($color_blue, 0.2);
@include ie8 {
color: $color_white;
color: $color_blue;
}
transition: background-color 0.5s ease-out;
&:hover,
Expand All @@ -28,8 +28,8 @@
/* Selected menu item */
%selected-menu-item {
font-weight: bold;
color: $color_primary;
background-color: $color_neutral_light;
color: $color_primary #100467;
background-color: $color_neutral_light #E6722A;
&:hover,
&:active,
&:focus {
Expand Down Expand Up @@ -535,7 +535,7 @@ p.locale-list-trigger {
border: 0;
padding: 0;
}
}
}


#banner {
Expand Down Expand Up @@ -715,6 +715,13 @@ a.link_to_this {
*/
}

/* Layout for lists of requests, authorities, users */
.request_listing,.body_listing,.user_listing {
.head {
line-height: 1.7em;
}
}

/* Status lines and icons */
.icon_waiting_classification,
.icon_waiting_response,
Expand Down Expand Up @@ -895,20 +902,19 @@ dt {
background-image: image-url('homepage-background.jpg');
}

a {
color: $color_secondary;
&:hover,
&:active,
&:focus {
a, a:hover, a:active, a:focus {
color: $color_white;
}
}

.intro__title {
color: $color_white;
text-shadow: 0 1px 2px transparentize($color_black, 0.7);
}

.intro__browse a {
color: $color_white;
}

.new-request__content {
background-color: $color_neutral_dark;
border-radius: 5px;
Expand All @@ -929,12 +935,12 @@ dt {
}
.new-request__make-new-requests {
@include button-base;
background-color: desaturate(darken($color_secondary, 10%), 5%);
background-color: desaturate(darken($color_primary, 10%), 5%);
color: $color_white;
&:hover,
&:active,
&:focus {
background-color: darken($color_secondary, 20%);
background-color: darken($color_primary, 20%);
}
}
}
Expand Down
14 changes: 8 additions & 6 deletions lib/alavetelitheme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ def prepend_theme_assets
# Tell FastGettext about the theme's translations: look in the theme's
# locale-theme directory for a translation in the first place, and if
# it isn't found, look in the Alaveteli locale directory next:
repos = [
FastGettext::TranslationRepository.build('app', :path=>File.join(File.dirname(__FILE__), '..', 'locale-theme'), :type => :po),
FastGettext::TranslationRepository.build('app', :path=>'locale', :type => :po)
]
FastGettext.add_text_domain 'app', :type=>:chain, :chain=>repos
FastGettext.default_text_domain = 'app'
paths = []
paths << File.join(File.dirname(__FILE__), '..', 'locale-theme')
paths << 'locale_alaveteli_pro' if AlaveteliConfiguration::enable_alaveteli_pro
paths << 'locale'
repos = paths.map do |path|
FastGettext::TranslationRepository.build('app', :path => path, :type => :po)
end
AlaveteliLocalization.set_default_text_domain('app', repos)
8 changes: 4 additions & 4 deletions lib/config/custom-routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Here you can override or add to the pages in the core website

Rails.application.routes.draw do
# brand new controller example
# get '/mycontroller' => 'general#mycontroller'
# Additional help page example
# get '/help/help_out' => 'help#help_out'
# brand new controller for terms of use

get '/help/terms' => 'help#terms', :as => 'help_terms'

end
78 changes: 78 additions & 0 deletions lib/config/user_spam_scorer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# The DEFAULT_* values defined in lib/user_spam_scorer.rb will still apply
# unless you override their key in this optional file.
#
# Unfortunately at this time you can't override the regular expressions defined
# for DEFAULT_SPAM_NAME_FORMAT or DEFAULT_SPAM_ABOUT_ME_FORMAT.

user_spam_scorer:
currency_symbols:
- £
- $
- €
- ¥
- ¢
suspicious_domains:
- mail.ru
- temp-mail.de
- tempmail.de
- shitmail.de
- yopmail.com
- yandex.com
spam_domains:
- 7x.cz
- allemaling.com
- bk.ru
- brmailing.com
- businessmailsystem.com
- checknowmail.com
- colde-mail.com
- consimail.com
- continumail.com
- contumail.com
- emailber.com
- grow-mail.com
- inbox.ru
- inemaling.com
- inmailing.com
- itemailing.com
- itmailing.com
- kod-emailing.com
- kod-maling.com
- kodemailing.com
- kodmailing.com
- left-mail.com
- list.ru
- mabermail.com
- mailphar.com
- out-email.com
- semi-mile.com
- sin-mailing.com
- sinemailing.com
- sinmailing.com
- takmailing.com
- themailemail.com
- visitinbox.com
- webgarden.com
- webgarden.cz
- wgz.cz
- wowmailing.com
suspicious_user_agents:
- curl
suspicious_ip_ranges:
- 127.0.0.0/8
spam_name_formats:
- !ruby/regexp '/\A.*bitcoin.*\z/i'
- !ruby/regexp '/\A.*currency.*\z/i'
- !ruby/regexp '/\A.*support.*\z/i'
- !ruby/regexp '/\A.*customer.*service.*\z/i'
- !ruby/regexp '/\A.*customer.*care.*\z/i'
- !ruby/regexp '/\A.*buy.*online.*\z/i'
- !ruby/regexp '/\A.*real.*estate.*\z/i'
- !ruby/regexp '/\A.*web.*design.*\z/i'
- !ruby/regexp '/\A.*Mac\sDesktop.*\z/i'
- !ruby/regexp '/\A.*Inc\z/'
- !ruby/regexp '/\A.*LLC\z/'
- !ruby/regexp '/\A.*spyware.*\z/i'
- !ruby/regexp '/\A.*malware.*\z/i'
- !ruby/regexp '/\A.*CRM.*\z/'
- !ruby/regexp '/.*(http|https):\/\/.*/i'
12 changes: 11 additions & 1 deletion lib/controller_patches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
# See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode
#
Rails.configuration.to_prepare do
HelpController.class_eval do
def terms; end
end
end
# Example adding an instance variable to the frontpage controller
# GeneralController.class_eval do
# def mycontroller
Expand All @@ -17,4 +21,10 @@
# def help_out
# end
# end
end
# Rails.application.routes.draw do
# brand new controller example
# get '/mycontroller' => 'general#mycontroller'
# Additional help page example
# get '/help/terms' => 'help#terms'
# end
# end
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions lib/views/alaveteli_pro/pages/_legal.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<section id="introduction">
<h2>
Introduction
</h2>

<p>
Handlingar.se does not have terms and conditions in English at the moment. Contact the Handlingar-team for more information.
</p>


</section>
Loading