Skip to content

Commit

Permalink
shop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Mar 9, 2020
1 parent 8603d25 commit 7f2fa38
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "oneplace/oneplace-contact",
"description": "onePlace Contact Module",
"type": "oneplace-module",
"version": "1.0.12",
"version": "1.0.13",
"license": "BSD-3-Clause",
"keywords": [
"laminas",
Expand Down
Binary file added language/de_DE.mo
Binary file not shown.
48 changes: 48 additions & 0 deletions language/de_DE.po
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 "Contact"
msgstr "Kontakt"

msgid "Contacts"
msgstr "Kontakte"

msgid "Add Contact"
msgstr "Kontakt erfassen"

msgid "Export Contacts"
msgstr "Kontakte exportieren"

msgid "Find Contacts"
msgstr "Kontakt finden"

msgid "Edit Contact"
msgstr "Kontakt bearbeiten"

msgid "Save Contact"
msgstr "Kontakt speichern"

msgid "Firstname"
msgstr "Vorname"

msgid "Lastname"
msgstr "Nachname"

msgid "Phone"
msgstr "Tel"

msgid "Salutation"
msgstr "Anrede"

msgid "Title"
msgstr "Titel"
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Module {
*
* @since 1.0.0
*/
const VERSION = '1.0.12';
const VERSION = '1.0.13';

/**
* Load module config file
Expand Down
11 changes: 10 additions & 1 deletion view/one-place/contact/contact/index.phtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
<?php
use Application\Controller\CoreController;
$sIcon = (array_key_exists('contact-icon',CoreController::$aGlobalSettings))
? CoreController::$aGlobalSettings['contact-icon'] : '';
?>
<div class="card">
<div class="card-header">
<div class="row">
<div class="col-md-10">
<?= $this->partial('partial/indexheader',['sTitle'=>'Contacts']) ?>
<?= $this->partial('partial/indexheader',[
'sTitle'=>'Contacts',
'sIcon' => $sIcon,
'sCount'=>$aItems->getTotalItemCount().' total'
]) ?>
</div>
<div class="col-md-2 text-right">
<select class="form-control">
Expand Down

0 comments on commit 7f2fa38

Please sign in to comment.