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

Lwimilinks branding #120

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
**Sadilar Terminology**
**LwimiLinks**

About the project:
This project implements a platform for hosting multilingual terminology, and
enriching data with metadata and links between relevant role players.

"Lwimi" refers to language in the Nguni languages, and "Links" emphasises the
goal of linking relevant pieces of information.

The software is implemented in Python on the Django framework.

---

Expand Down
4 changes: 2 additions & 2 deletions app/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

from . import views

admin.site.index_title = _("SADiLaR Administration")
admin.site.site_title = _("SADiLaR Site Admin Portal")
admin.site.index_title = _("Site administration")
admin.site.site_title = _("LwimiLinks administration ")

urlpatterns = [
path("admin/", admin.site.urls),
Expand Down
2 changes: 1 addition & 1 deletion app/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% block branding %}
<h1 class="header-title">
<a href="{% url 'home' %}">
<img src="{% static 'img/sadilar.png' %}" class="main-logo" alt="{% trans 'SADiLaR' %}">
<img src="{% static 'img/lwimilinks.svg' %}" class="main-logo" alt="{% trans 'LwimiLinks' %}">
</a>
</h1>
{% if user.is_anonymous %}
Expand Down
90 changes: 42 additions & 48 deletions app/templates/app/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,23 @@

{% block content %}
{% spaceless %}
<h1 id="main-heading" class="visually-hidden">{% trans "Home page" %}</h1>
<h1 id="main-heading" class="visually-hidden">{% trans "LwimiLinks" %}</h1>
<section class="m-3 card">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Welcome" %}</h2>
<p>
{% blocktrans trimmed %}
The South African Centre for Digital Language Resources (SADiLaR) is a national research
infrastructure that aims to ensure a digital future for our official languages.
It supports researchers in the fields of digital humanities and social sciences and also
assists institutions in their language implementation plans.
{% endblocktrans %}
<a href="https://sadilar.org">{% blocktrans %}Read more about SADiLaR.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
SADiLaR conducted an audit at South African public higher education institutions that highlighted
areas that require attention.
{% endblocktrans %}
<a href="https://sadilar.org/usaf_report_2023">{% blocktrans %}Read the report.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
This platform highlights previous and current work at institutions to encourage collaboration and
disseminate resources.
{% endblocktrans %}
</p>
</div>
</section>

<section class="m-3 card">
<div class="card-body d-flex justify-content-between align-items-end">
<div class="card-items">
<h2 class="fs-3 card-title">{% trans "Search" %}</h2>
<p>
{% blocktrans trimmed %}
This platforms hosts terminology and other useful language resources.
{% endblocktrans %}
</p>
<form method="get" action="{% url 'search' %}">
<input type="search" name="search" placeholder="{% trans 'Search term...' %}"
class="form-control search-input">
<input type="submit" value="{% trans 'Search' %}" class="btn btn-primary mt-2">
</form>
</div>
</div>
</section>

<section class="m-3 card">
<div class="card-body">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Explore" %}</h2>
<p>
{% blocktrans trimmed %}
LwimiLinks is a place for multilingual terminology and other useful language
resources. We encourage institutions to upload their resources, and to register
information on related projects.
{% endblocktrans %}
</p>
<form method="get" action="{% url 'search' %}">
<input type="search" name="search" placeholder="{% trans 'Search term...' %}"
class="form-control search-input">
<input type="submit" value="{% trans 'Search' %}" class="btn btn-primary mt-2">
</form>
<p class="pt-3">
{% trans "Browse through the available information by one of the following categories:" %}
</p>
<ul class="list-unstyled d-md-flex flex-md-row">
Expand Down Expand Up @@ -87,5 +53,33 @@ <h2 class="fs-3 card-title">{% trans "Explore" %}</h2>
</div>
</section>

<section class="m-3 card">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Background information" %}</h2>
<p>
{% blocktrans trimmed %}
The South African Centre for Digital Language Resources (SADiLaR) is a national research
infrastructure that aims to ensure a digital future for our official languages.
It supports researchers in the fields of digital humanities and social sciences and also
assists institutions in their language implementation plans.
{% endblocktrans %}
<a href="https://sadilar.org">{% blocktrans %}Read more about SADiLaR.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
SADiLaR conducted an audit at South African public higher education institutions that highlighted
areas that require attention.
{% endblocktrans %}
<a href="https://sadilar.org/usaf_report_2023">{% blocktrans %}Read the report.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
This platform highlights previous and current work at institutions to encourage collaboration and
disseminate resources.
{% endblocktrans %}
</p>
</div>
</section>

{% endspaceless %}
{% endblock content %}
4 changes: 2 additions & 2 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{% trans "SADiLaR" %}{% endblock %}</title>
<title>{% block title %}{% trans "LwimiLinks" %}{% endblock %}</title>
<meta name="description" content="{% block description %}{% trans 'Terminology and other language resources' %}{% endblock %}">
<meta name="keywords" content="{% block keywords %}{% trans 'language, terminology' %}{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand All @@ -25,7 +25,7 @@
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid">
<a href="{% url 'home' %}" class="navbar-brand">
<img src="{% static 'img/sadilar.png' %}" width="140" height="73" alt="{% trans 'Front page' %}">
<img src="{% static 'img/lwimilinks.svg' %}" width="180" height="40" alt="{% trans 'Front page' %}">
</a>
<button class="navbar-toggler" type="button"
data-bs-toggle="collapse" data-bs-target="#navbarPills"
Expand Down
2 changes: 1 addition & 1 deletion app/templates/base_htmx.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% spaceless %}
<html lang="en">{# Required for HTMX title swapping to work #}
<head>
<title>{% block title %}{% trans "SADiLaR" %}{% endblock %}</title></head>
<title>{% block title %}{% trans "LwimiLinks" %}{% endblock %}</title>
</head>

{% comment %}
Expand Down
Loading