-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add language
- Loading branch information
Showing
8 changed files
with
172 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: de_DE\n" | ||
"X-Generator: Poedit 2.2.4\n" | ||
|
||
msgid "Project" | ||
msgstr "Projekt" | ||
|
||
msgid "Projects" | ||
msgstr "Projekte" | ||
|
||
msgid "Add Project" | ||
msgstr "Arbeitszeit erfassen" | ||
|
||
msgid "Add new Project" | ||
msgstr "Neues Projekt erfassen" | ||
|
||
msgid "Save Project" | ||
msgstr "Projekt speichern" | ||
|
||
msgid "Edit Project" | ||
msgstr "Projekt ändern" | ||
|
||
msgid "Export Projects" | ||
msgstr "Projekte exportieren" | ||
|
||
msgid "Find Projects" | ||
msgstr "Projekte finden" | ||
|
||
msgid "State" | ||
msgstr "Status" | ||
|
||
msgid "Customer" | ||
msgstr "Kunde" | ||
|
||
msgid "Person responsible" | ||
msgstr "Verantwortlicher" | ||
|
||
msgid "planned Release" | ||
msgstr "Abschluss Termin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,42 @@ | ||
<?php | ||
use Application\Controller\CoreController; | ||
?> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<?= $this->partial('partial/indexheader',['sTitle'=>'Projects']) ?> | ||
<div class="row"> | ||
<div class="col-md-10"> | ||
<?php | ||
$sIcon = (array_key_exists('project-icon',CoreController::$aGlobalSettings)) | ||
? CoreController::$aGlobalSettings['project-icon'] : ''; | ||
?> | ||
<?= $this->partial('partial/indexheader',['sTitle'=>'Project','sIcon' => $sIcon]) ?> | ||
</div> | ||
<div class="col-md-2 text-right"> | ||
<select class="form-control plc-index-load-saved-search"> | ||
<option>-- <?=$this->translate('All')?> --</option> | ||
<?php | ||
if (count($aSavedSearches) > 0) { | ||
foreach($aSavedSearches as $oSearch) { ?> | ||
<option value="<?=$oSearch->Search_ID?>"> | ||
<?=$oSearch->label?> | ||
</option> | ||
<?php | ||
} | ||
} | ||
?> | ||
</select> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body py-0"> | ||
<?= $this->partial('partial/indextable', ['sTableName'=>$sTableName,'aItems'=>$aItems]); ?> | ||
<?= $this->partial('partial/indextable', [ | ||
'sTableName' => $sTableName, | ||
'aItems' => $aItems, | ||
'aFilters' => $aFilters, | ||
'sRoute' => $sRoute | ||
]); ?> | ||
</div> | ||
<div class="card-footer"> | ||
<?= $this->partial('partial/indexpager', ['aItems'=>$aItems,'sRoute'=>(isset($sRoute)) ? $sRoute : explode('-',$sTableName)[0]]); ?> | ||
<?= $this->partial('partial/indexpager', ['aItems'=>$aItems,'sRoute'=>$sRoute]); ?> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,70 @@ | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h2>Find Project</h2> | ||
</div> | ||
<?php if(isset($aResults)) { ?> | ||
|
||
<?php } else { ?> | ||
<form action="" method="post"> | ||
<div class="card-body"> | ||
<?= $this->partial('partial/basictabs', ['sFormName'=>$this->sFormName]); ?> | ||
<?= $this->partial('partial/searchtabcontents', ['sFormName'=>$this->sFormName]); ?> | ||
</div> | ||
<div class="card-footer"> | ||
<button class="btn btn-primary" type="submit"> | ||
Start Search | ||
</button> | ||
</div> | ||
</form> | ||
<?php } ?> | ||
<?php | ||
if(isset($sTableName)) { | ||
$sRoute = (isset($sRoute)) ? $sRoute : explode('-',$sTableName)[0]; | ||
?> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<?= $this->partial('partial/indexheader',['sTitle'=>'Project']) ?> | ||
</div> | ||
<div class="card-body py-0"> | ||
<?= $this->partial('partial/indextable', [ | ||
'sTableName' => $sTableName, | ||
'aItems' => $aItems, | ||
'aFilters' => $aFilters, | ||
'sRoute' => $sRoute | ||
]); ?> | ||
</div> | ||
<div class="card-footer"> | ||
<?= $this->partial('partial/indexpager', ['aItems' => $aItems,'sRoute' => $sRoute]); ?> | ||
</div> | ||
</div> | ||
<?php if(isset($aResults)) { ?> | ||
<?php } else { ?> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h2>Results</h2> | ||
</div> | ||
<div class="card-body"> | ||
<ul class="list-group"> | ||
<?php | ||
foreach($aResults as $oProject) { ?> | ||
<li class="list-group-item"> | ||
<a href="<?=$this->url('project',['action'=>'view','id'=>$oProject->getID()])?>" title="<?=$this->translate('View Project')?>"> | ||
<?=$oProject->getLabel();?> | ||
</a> | ||
</li> | ||
<?php | ||
} | ||
?> | ||
</ul> | ||
<h2>Find Project</h2> | ||
</div> | ||
<?php if(isset($aResults)) { ?> | ||
|
||
<?php } else { ?> | ||
<form action="" method="post"> | ||
<div class="card-body"> | ||
<?= $this->partial('partial/basictabs', ['sFormName'=>$this->sFormName]); ?> | ||
<?= $this->partial('partial/searchtabcontents', ['sFormName'=>$this->sFormName]); ?> | ||
</div> | ||
<div class="card-footer"> | ||
<button class="btn btn-primary" type="submit"> | ||
Start Search | ||
</button> | ||
</div> | ||
</form> | ||
<?php } ?> | ||
</div> | ||
</div> | ||
<?php } ?> | ||
</div> | ||
<?php if(isset($aResults)) { ?> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h2>Results - <?=$aResults->getTotalItemCount()?></h2> | ||
</div> | ||
<div class="card-body"> | ||
<ul class="list-group"> | ||
<?php | ||
foreach($aResults as $oProject) { ?> | ||
<li class="list-group-item"> | ||
<a href="<?=$this->url('project',['action'=>'view','id'=>$oProject->getID()])?>" title="<?=$this->translate('View Project')?>"> | ||
<?=$oProject->getLabel();?> | ||
</a> | ||
</li> | ||
<?php | ||
} | ||
?> | ||
</ul> | ||
<?= $this->partial('partial/indexpager', ['aItems'=>$aResults,'sRoute'=>'project-search']); ?> | ||
</div> | ||
</div> | ||
</div> | ||
<?php } ?> | ||
</div> | ||
<?php } ?> |