Skip to content

Commit

Permalink
feat: Show organisation name in HTML title
Browse files Browse the repository at this point in the history
  • Loading branch information
rolodato committed Apr 19, 2024
1 parent 18d8214 commit 6b50349
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/sales_dashboard/templates/sales_dashboard/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="{% static 'sales_dashboard/css/bootstrap.min.css' %}"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/bootstrap-table.min.css">
<title>Flagsmith Sales Dashboard</title>
<title>{% block title %}{% endblock %} Flagsmith Sales Dashboard</title>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends "sales_dashboard/base.html" %}
{% load humanize %}

{% block title %}
{{organisation.name}} -
{% endblock title %}

{% block content %}
<div class="container-fluid">
<div class="row">
Expand Down

0 comments on commit 6b50349

Please sign in to comment.