Browse Source

Merge branch 'main' into lang_de

lang_de
Stephan Richter 6 months ago
parent
commit
eee5e7c863
  1. 2
      pom.xml
  2. 2
      static/templates/footer.st
  3. 4
      static/templates/js.st

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
<build>
<plugins>
<plugin>

2
static/templates/footer.st

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<div class="footer">
Widerhall Mail-Verteiler.
Version 1.0.5.
Version 1.0.6.
Hol dir den Quellcode auf <a target="_blank" href="https://git.srsoftware.de/StephanRichter/Widerhall/src/branch/lang_de">git.srsoftware.de</a>
</div>

4
static/templates/js.st

@ -215,7 +215,7 @@ function showMembers(data){ @@ -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){ @@ -224,7 +224,7 @@ function showMembers(data){
$('<td/>').text(member.email).appendTo(row);
$('<td/>').text(member.state).appendTo(row);
let col = $('<td/>');
if (member.state.includes("moderator")) {
if (member.state.includes("Moderator")) {
if (member.email != owner){
$('<button/>',{onclick:'dropMod("'+member.email+'","'+list_mail+'")'}).text("- Moderator").appendTo(col);
if (data.user.email == owner) $('<button/>',{onclick:'transfer("'+member.email+'","'+list_mail+'")'}).text("Eigentum übertragen").appendTo(col);

Loading…
Cancel
Save