Skip to content

Commit

Permalink
Merge pull request #1610 from laws-africa/fix-mauritiuslii
Browse files Browse the repository at this point in the history
Fix navbar brand name and terms of use on MauritiusLII
  • Loading branch information
nickmwangemi authored Nov 2, 2023
2 parents 61a3faa + bde20f4 commit 75961c1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,36 +333,37 @@ jobs:
git_remote_url: 'ssh://[email protected]:22/rwandalii-peachjam'
git_push_flags: '--force'

deploy-lii:
deploy-mauritiuslii:
if: ${{ always() }}
needs: deploy-eswatinilii
name: Deploy to lii
name: Deploy to mauritiuslii
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: git push to lii.laws.africa
- name: git push to mauritiuslii.laws.africa
uses: dokku/github-action@master
with:
ssh_private_key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
git_remote_url: 'ssh://[email protected]:22/liiweb'
git_remote_url: 'ssh://[email protected]:22/mauritiuslii-peachjam'
git_push_flags: '--force'

deploy-mauritiuslii:

deploy-lii:
if: ${{ always() }}
needs: deploy-rwandalii
name: Deploy to mauritiuslii
needs: deploy-mauritiuslii
name: Deploy to lii
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: git push to mauritiuslii.laws.africa
- name: git push to lii.laws.africa
uses: dokku/github-action@master
with:
ssh_private_key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
git_remote_url: 'ssh://[email protected]:22/mauritiuslii-peachjam'
git_remote_url: 'ssh://[email protected]:22/liiweb'
git_push_flags: '--force'
2 changes: 1 addition & 1 deletion mauritiuslii/templates/peachjam/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block top-bar %}{% endblock %}
{% block navbar-logo %}
<img src="{% static 'images/logo.png' %}" alt="{{ APP_NAME }}" height="40"/>
<a class="navbar-brand" href="{% url 'home_page' %}">RwandaLII</a>
<a class="navbar-brand" href="{% url 'home_page' %}">MauritiusLII</a>
{% endblock %}
{% block nav-items %}
<li class="nav-item">
Expand Down
4 changes: 2 additions & 2 deletions mauritiuslii/templates/peachjam/terms_of_use.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "peachjam/terms_of_use.html" %}
{% block terms-of-use-content %}
{% with organisation_name="MalawiLII" org_link_text="https://rwandalii.laws.africa/" robots_link_text="https://rwandalii.laws.africa/robots.txt" contact_email="[email protected]" %}
{% with who_are_we="RwandaLII is a member of the community of African LIIs and of the Free Access to Law Movement." %}
{% with organisation_name="MauritiusLII" org_link_text="https://mauritiuslii.laws.africa/" robots_link_text="https://mauritiuslii.laws.africa/robots.txt" contact_email="[email protected]" %}
{% with who_are_we="MauritiusLII is a member of the community of African LIIs and of the Free Access to Law Movement." %}
{% include "peachjam/_terms_of_use_content.html" %}
{% endwith %}
{% endwith %}
Expand Down

0 comments on commit 75961c1

Please sign in to comment.