Skip to content

Commit

Permalink
template: add specific titles
Browse files Browse the repository at this point in the history
with a fallback to "εxodus"
  • Loading branch information
codeurimpulsif committed May 26, 2024
1 parent a5da0ac commit 0c2a397
Show file tree
Hide file tree
Showing 17 changed files with 58 additions and 2 deletions.
3 changes: 3 additions & 0 deletions exodus/analysis_query/templates/query_error.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base/base.html"%}
{% block head %}
<title>{% trans "New analysis" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 col-centered">
Expand Down
3 changes: 3 additions & 0 deletions exodus/analysis_query/templates/query_submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{% load i18n %}
{% load static %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
<title>{% trans "New analysis" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/analysis_query/templates/query_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{% load i18n %}
{% load static %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
<title>{% trans "New analysis" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/analysis_query/templates/query_wait.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{% load i18n %}
{% load static %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
<title>{% trans "New analysis" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
5 changes: 5 additions & 0 deletions exodus/reports/templates/report_details.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{% extends "base/base.html"%}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
{% if report %}
<title>{% trans "Report for" %} {{ report.application.handle }} {{ report.application.version }} - εxodus</title>
{% endif %}
{% endblock %}
{% block content %}
{% load static %}
{% if report %}
Expand Down
3 changes: 3 additions & 0 deletions exodus/reports/templates/reports_home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
<title>{% trans "Reports" %} - εxodus</title>
{% endblock %}
{% block content %}
{% load static %}
<div class="row justify-content-md-center">
Expand Down
7 changes: 7 additions & 0 deletions exodus/reports/templates/reports_list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{% extends "base/base.html" %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block head %}
{% if handle %}
<title>{% trans "Reports list for" %} {{ handle }} - εxodus</title>
{% else %}
<title>{% trans "Reports list" %} - εxodus</title>
{% endif %}
{% endblock %}
{% block content %}
{% load static %}
<div class="row justify-content-md-center">
Expand Down
3 changes: 3 additions & 0 deletions exodus/trackers/templates/stats_details.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% extends "base/base.html" %}
{% load i18n %}
{% block head %}
<title>{% trans "Statistics" %} - εxodus</title>
{% endblock %}
{% block content %}
{% load static %}
<div class="row justify-content-md-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/trackers/templates/tracker_details.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load markdown %}
{% block head %}
<title>{% trans "Tracker profile for" %} {{ tracker.name }} - εxodus</title>
{% endblock %}
{% block content %}
<style>
h2 {
Expand Down
3 changes: 3 additions & 0 deletions exodus/trackers/templates/trackers_list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% extends "base/base.html"%}
{% load i18n %}
{% block head %}
<title>{% trans "Trackers" %} - εxodus</title>
{% endblock %}
{% block content %}
{% if trackers %}
<div class="row justify-content-sm-center">
Expand Down
4 changes: 3 additions & 1 deletion exodus/web/templates/base/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<script src="{% static "js/bootstrap.min.js" %}"></script>
<script src="{% static "js/handlebars.min.js" %}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>εxodus</title>
{% block head %}
<title>εxodus</title>
{% endblock %}
</head>

<body>
Expand Down
5 changes: 4 additions & 1 deletion exodus/web/templates/base/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html"%}
{% load i18n %}
{% block head %}
<title>{% trans "Home" %} - εxodus</title>
{% endblock %}
{% block content %}
{% load i18n %}
<div class="row justify-content-center mb-5 mt-5">
<div class="col-xl-3 col-lg-3 col-md-3 col-sm-4 col-4 my-auto">
<img src="/static/img/logo_purple_small.svg" class="mx-auto d-block img-fluid" alt="exodus logo">
Expand Down
3 changes: 3 additions & 0 deletions exodus/web/templates/base/next.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load static %}
{% block head %}
<title>{% trans "What's next?" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/web/templates/base/organization.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load static %}
{% block head %}
<title>{% trans "The organization" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/web/templates/base/permissions.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load static %}
{% block head %}
<title>{% trans "Permissions" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/web/templates/base/trackers.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load static %}
{% block head %}
<title>{% trans "Trackers" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center">
<div class="col-md-8 col-12 text-center mb-4">
Expand Down
3 changes: 3 additions & 0 deletions exodus/web/templates/base/understand.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "base/base.html" %}
{% load i18n %}
{% load static %}
{% block head %}
<title>{% trans "Better understand" %} - εxodus</title>
{% endblock %}
{% block content %}
<div class="row justify-content-sm-center mb-4">
<div class="col-md-8 col-12 text-center">
Expand Down

0 comments on commit 0c2a397

Please sign in to comment.