diff --git a/pom.xml b/pom.xml index 5bab660..1272d70 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 1.0.5 + 1.0.6 diff --git a/static/templates/footer.st b/static/templates/footer.st index 8d1de52..52912bf 100644 --- a/static/templates/footer.st +++ b/static/templates/footer.st @@ -1,5 +1,5 @@ diff --git a/static/templates/js.st b/static/templates/js.st index d120b4b..8c062d4 100644 --- a/static/templates/js.st +++ b/static/templates/js.st @@ -215,7 +215,7 @@ function showMembers(data){ console.log("data",data); var owner = false; for (let member of data.members){ - if (member.email == data.user.email && member.state.includes("owner")) owner = member.email; + if (member.email == data.user.email && member.state.includes("Besitzer")) owner = member.email; } for (let i in data.members){ let member = data.members[i]; @@ -224,7 +224,7 @@ function showMembers(data){ $('').text(member.email).appendTo(row); $('').text(member.state).appendTo(row); let col = $(''); - if (member.state.includes("moderator")) { + if (member.state.includes("Moderator")) { if (member.email != owner){ $('