Skip to content

Commit

Permalink
Updating page titles (#409)
Browse files Browse the repository at this point in the history
Related-Issue: #409
Closes: #409
Projected-Results-Impact: none
  • Loading branch information
holtgrewe committed Mar 29, 2022
1 parent 90e5d5b commit 226a5fc
Show file tree
Hide file tree
Showing 21 changed files with 74 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Full Change List
- Fixing bug in corner case of multi variant annotation (#412)
- Updating documentation for v1 release (#410)
- Fixing issue with ``fa-solid:refresh`` icon (#409)
- Fixing page titles (#409)

------
v1.1.1
Expand Down
4 changes: 4 additions & 0 deletions clinvar_export/templates/submission_set/entrypoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

{% load render_bundle from webpack_loader %}

{% block title %}
ClinVar Export
{% endblock title %}

{% block projectroles_extend %}
<div id="sodar-ss-app-context" app-context="{{ app_context }}"></div>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def set_logging(level=None):
SITE_TITLE = "VarFish (Kiosk)"
else:
SITE_TITLE = "VarFish"
SITE_SUBTITLE = env.str("SITE_SUBTITLE", "Beta")
SITE_SUBTITLE = env.str("SITE_SUBTITLE", "Athenea")
SITE_INSTANCE_TITLE = env.str("SITE_INSTANCE_TITLE", "Deployment Instance Name")

PROJECTROLES_SECRET_LENGTH = 32
Expand Down
4 changes: 4 additions & 0 deletions svs/templates/svs/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
{% load static %}
{% load variants_tags %}

{% block title %}
SV Filtration: {{ case.name }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
{% if query_type == "case" %}
Expand Down
4 changes: 4 additions & 0 deletions svs/templates/svs/import_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Import SV Job: {{ object.bg_job.name }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "bgjobs:list" project=project.sodar_uuid %}">Jobs</a></li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/case_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<li class="breadcrumb-item active">{{ object.name }}</li>
{% endblock %}

{% block title %}
Case Details: {{ case.name }}
{% endblock title %}

{% block projectroles %}
{% get_app_setting 'variants' 'disable_pedigree_sex_check' project=project as disable_pedigree_sex_check %}

Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/case_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load variants_tags %}

{% block title %}
Cases: {{ project.title }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item active">Cases</li>
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/case_update_terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% load variants_tags %}

{% block title %}
Update Case {{ case.name }}
Update Case Terms {{ case.name }}
{% endblock title %}

{% block head_extend %}
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/distiller_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Distiller Export Job for {{ case.name }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "variants:case-detail" project=project.sodar_uuid case=object.case.sodar_uuid %}">{{ object.case.name }}</a></li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/export_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Export Job for {{ case.name }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "variants:case-detail" project=project.sodar_uuid case=object.case.sodar_uuid %}">{{ object.case.name }}</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Background File Creaetion Job
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "bgjobs:list" project=project.sodar_uuid %}">Jobs</a></li>
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
{% load static %}
{% load variants_tags %}

{% block title %}
Filter Variants: {{ case.name }}
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
{% if query_type == "case" %}
Expand Down
5 changes: 5 additions & 0 deletions variants/templates/variants/filter_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
{% load static %}
{% load json %}

{% block title %}
Filter Job: {{ case.name }}
{% endblock title %}


{% block navi_sub_project_extend %}
{% if query_type == "case" %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
Expand Down
5 changes: 5 additions & 0 deletions variants/templates/variants/import_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
{% load static %}
{% load json %}

{% block title %}
Import Data: {{ case.name }}
{% endblock title %}


{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "bgjobs:list" project=project.sodar_uuid %}">Jobs</a></li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/kiosk_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
{% load static %}
{% load variants_tags %}

{% block title %}
VarFish Kiosk
{% endblock title %}

{% block projectroles %}

<div class="row">
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/kiosk_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
{% load static %}
{% load variants_tags %}

{% block title %}
VarFish Kiosk Status
{% endblock title %}

{% block javascript %}
<script type="text/javascript">
let timer = null;
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/project_stats_job_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load rules %}

{% block title %}
Confirm Landing Zone Deletion
Create Project Statistics Job
{% endblock title %}

{% block navi_sub_project_extend %}
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/project_stats_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Project Statistics Job
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "bgjobs:list" project=project.sodar_uuid %}">Jobs</a></li>
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/spanr_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Export to Spanr Job
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "variants:case-detail" project=project.sodar_uuid case=object.case.sodar_uuid %}">{{ object.case.name }}</a></li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/sync_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% load static %}
{% load json %}

{% block title %}
Synchronization Job
{% endblock title %}

{% block navi_sub_project_extend %}
<li class="breadcrumb-item"><a href="{% url "variants:case-list" project=project.sodar_uuid %}">Cases</a></li>
<li class="breadcrumb-item"><a href="{% url "bgjobs:list" project=project.sodar_uuid %}">Jobs</a></li>
Expand Down
4 changes: 4 additions & 0 deletions variants/templates/variants/variant_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
{% load static %}
{% load json %}

{% block title %}
Variant Details
{% endblock title %}

{% block projectroles_extend %}
{% get_app_setting "variants" "ga4gh_beacon_network_widget_enabled" user=user as ga4gh_beacon_network_widget_enabled %}
{% get_django_setting "PROJECTROLES_KIOSK_MODE" as kiosk_mode %}
Expand Down

0 comments on commit 226a5fc

Please sign in to comment.