Compare commits

...

9 Commits

4 changed files with 5 additions and 5 deletions

View File

@@ -54,5 +54,5 @@ const strings = {
'Donnerstag', 'Donnerstag',
'Freitag', 'Freitag',
'Samstag' 'Samstag'
], ]
} }

View File

@@ -260,7 +260,7 @@
<div class="input-style input-style-2 has-icon input-required"> <div class="input-style input-style-2 has-icon input-required">
<i class="input-icon fa fa-user color-theme"></i> <i class="input-icon fa fa-user color-theme"></i>
<span class="color-highlight">Benutzername</span> <span class="color-highlight">Benutzername</span>
<input id="input-login-username" class="form-control" type="name" placeholder="Benutzername" /> <input id="input-login-username" class="form-control" type="text" placeholder="Benutzername" />
</div> </div>
<div class="input-style input-style-2 has-icon input-required"> <div class="input-style input-style-2 has-icon input-required">
<i class="input-icon fa fa-lock color-theme"></i> <i class="input-icon fa fa-lock color-theme"></i>

View File

@@ -31,10 +31,10 @@ async function onListClicked(id) {
if (exp.approved == 0 && (exp.direction < 0) == (exp.canceled == 0)) { if (exp.approved == 0 && (exp.direction < 0) == (exp.canceled == 0)) {
$('#menu-item-approve').show(); $('#menu-item-approve').show();
$('#menu-item-approve').attr('onclick', 'expenditureAction("approve", ' + exp['id'] + ', "' + (exp.canceled == 1 ? 'Stornierung' : 'Ausgabe') + ' genehmigt")'); $('#menu-item-approve').attr('onclick', 'expenditureAction("approve", ' + exp['id'] + ', "' + (exp.canceled == 1 ? 'Stornierung' : 'Ausgabe') + ' genehmigt")');
$('#menu-item-approve').text(exp.canceled == 1 ? 'Storno akzeptieren' : 'Akzeptieren'); $('#menu-item-approve').find('span').text(exp.canceled == 1 ? 'Storno akzeptieren' : 'Akzeptieren');
$('#menu-item-decline').show(); $('#menu-item-decline').show();
$('#menu-item-decline').attr('onclick', 'expenditureAction("decline", ' + exp['id'] + ', "Ausgabe ' + (exp.canceled == 1 ? 'erneut angefragt' : 'abgelehnt') + '")'); $('#menu-item-decline').attr('onclick', 'expenditureAction("decline", ' + exp['id'] + ', "Ausgabe ' + (exp.canceled == 1 ? 'erneut angefragt' : 'abgelehnt') + '")');
$('#menu-item-decline').text(exp.canceled == 1 ? 'Erneut anfragen' : 'Ablehnen'); $('#menu-item-decline').find('span').text(exp.canceled == 1 ? 'Erneut anfragen' : 'Ablehnen');
} else { } else {
$('#menu-item-approve').hide(); $('#menu-item-approve').hide();
$('#menu-item-decline').hide(); $('#menu-item-decline').hide();

View File

@@ -1,5 +1,5 @@
<?php <?php
define('PWA_VERSION', '1.13h5'); define('PWA_VERSION', '1.13h6');
?> ?>