Remove duplicate title elements

The title element should only be set by the layout template.
This commit is contained in:
Simon Bruder 2023-11-15 20:17:54 +01:00
parent aaa8b38f6b
commit 0f4b174460
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
5 changed files with 1 additions and 6 deletions

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Kunden')}"> layout:decorate="~{layout.html(title='Kunden')}">
<head> <head>
<title th:text="${title}"></title>
</head> </head>
<body> <body>
<div layout:fragment="content"> <div layout:fragment="content">

View file

@ -2,9 +2,8 @@
<html xmlns:th="http://www.thymeleaf.org" <html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security" xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Kunden bearbeiten')}"> layout:decorate="~{layout.html(title='Kunde bearbeiten')}">
<head> <head>
<title>Kunde Bearbeiten</title>
</head> </head>
<body> <body>
<div layout:fragment="content"> <div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Personal bearbeiten')}"> layout:decorate="~{layout.html(title='Personal bearbeiten')}">
<head> <head>
<title>Personal Bearbeiten</title>
</head> </head>
<body> <body>
<div layout:fragment="content"> <div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Profil')}"> layout:decorate="~{layout.html(title='Profil')}">
<head> <head>
<title th:text="#{profile.title}" />
</head> </head>
<body> <body>
<div layout:fragment="content"> <div layout:fragment="content">

View file

@ -4,7 +4,6 @@
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout.html(title='Angestellte')}"> layout:decorate="~{layout.html(title='Angestellte')}">
<head> <head>
<title th:text="${title}"></title>
</head> </head>
<body> <body>
<div layout:fragment="content"> <div layout:fragment="content">