Skip to content

Commit

Permalink
Sync with prod repo
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhoErvasti committed Jun 12, 2024
1 parent 59cc5bb commit 4606cbf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion render.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ else {
}
}

docker run --rm -v "${pwd}/src:/app" -v "${pwd}/out:/out" gispo/bookdown:latest /app/run_win.sh $arg1
docker run --rm -v "${pwd}/src:/app" -v "${pwd}/out:/out" gispo/bookdown:latest /app/run_win.sh $arg1
2 changes: 1 addition & 1 deletion template/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h5 class="footer-title">$title$</h5>
</div>

<div class="footer-info">
<h5 class="footer-title footer-company">Gispo Oy.
<h5 class="footer-title footer-company">Gispo Suomi Oy.
<span class="footer-copyright-year">© 2024</span></h5>
<span class="footer-contact-info">Firdonkatu 2 T 63
<br>00520 Helsinki, Finland
Expand Down
4 changes: 2 additions & 2 deletions template/index_en.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ If you notice mistakes in these course materials, we ask you to report either di

## License and permissions

These materials are developed for the "license_title_replace" course by Gispo Ltd.
The materials are licensed under [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/) license.
These materials are developed for the "license_title_replace" course by Gispo Finland Ltd.
The materials are licensed under [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/) license.
2 changes: 1 addition & 1 deletion template/index_fi.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ Jos havaitset materiaalissa virheitä, niin pyydämme ilmoittamaan niistä koulu

## Lisenssi ja oikeudet

Nämä materiaalit on "license_title_replace"- kurssille kehittänyt Gispo Oy. Materiaalit on lisensoitu seuraavalla lisenssillä: [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/)
Nämä materiaalit on "license_title_replace"- kurssille kehittänyt Gispo Suomi Oy. Materiaalit on lisensoitu seuraavalla lisenssillä: [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/)
2 changes: 1 addition & 1 deletion template/index_sv.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ Jos havaitset materiaalissa virheitä, niin pyydämme ilmoittamaan niistä koulu

## Licens och Behörigheter

Nämä materiaalit on "license_title_replace"- kurssille kehittänyt Gispo Oy. Materiaalit on lisensoitu seuraavalla lisenssillä: [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/)
Nämä materiaalit on "license_title_replace"- kurssille kehittänyt Gispo Sweden Ab. Materiaalit on lisensoitu seuraavalla lisenssillä: [CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/)
4 changes: 2 additions & 2 deletions update_assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ find "$src_folder" -type d -name "G*" -print0 | while IFS= read -r -d '' folder;
# Translate company type to either English or Swedish
# if course is marked as '_en' or '_sv'
if [[ "$folder" == *eng* ]]; then
sed -i 's/Oy\./Ltd\./g' "$folder/custom.html"
sed -i 's/Suomi Oy\./Finland Ltd\./g' "$folder/custom.html"
elif [[ "$folder" == *sv* ]]; then
sed -i 's/Oy\./AB/g' "$folder/custom.html"
sed -i 's/Suomi Oy\./Sweden AB/g' "$folder/custom.html"
fi
done

0 comments on commit 4606cbf

Please sign in to comment.