Browse Source

working on translation

lang_de
Stephan Richter 3 years ago
parent
commit
1e90ebc9a2
  1. 6
      static/templates/js.st

6
static/templates/js.st

@ -70,7 +70,7 @@ function showListOfEditableLists(data){ @@ -70,7 +70,7 @@ function showListOfEditableLists(data){
let list = $(this).attr('name');
if (confirm("This will "+action+" '"+list+"'. Are you sure?")) self[action+'List'](list);
});
$('<option/>').text('Actions').appendTo(select);
$('<option/>').text('Aktionen').appendTo(select);
['enable','disable','drop','hide','show','test'].forEach(val => $('<option/>',{value:val}).text(val).appendTo(select));
select.appendTo($('<td/>')).appendTo(row);
@ -100,8 +100,8 @@ function showListList(data){ @@ -100,8 +100,8 @@ function showListList(data){
$('<td/>').text(list.email.domain).appendTo(row);
$('<td/>').text(list.state).appendTo(row);
let td = $('<td/>',{class:'actions'});
$('<button/>',{onclick:"subscribeTo('"+list.email.domain+"', '"+list.email.prefix+"');"}).text('subscribe').appendTo(td);
$('<button/>',{onclick:"unsubscribeFrom('"+list.email.domain+"', '"+list.email.prefix+"');"}).text('unsubcribe').appendTo(td);
$('<button/>',{onclick:"subscribeTo('"+list.email.domain+"', '"+list.email.prefix+"');"}).text('abonnieren').appendTo(td);
$('<button/>',{onclick:"unsubscribeFrom('"+list.email.domain+"', '"+list.email.prefix+"');"}).text('abbestellen').appendTo(td);
td.appendTo(row);
row.appendTo('#listlist');

Loading…
Cancel
Save