Skip to content

Commit

Permalink
module icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Mar 8, 2020
1 parent c31e599 commit cf9e016
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"description": "onePlace Account Module",
"type": "oneplace-module",
"license": "BSD-3-Clause",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [
"laminas",
"mvc",
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ class Module {
*
* @since 1.0.1
*/
const VERSION = '1.0.3';
const VERSION = '1.0.4';

/**
* Load module config file
10 changes: 7 additions & 3 deletions view/one-place/account/account/index.phtml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?php
use Application\Controller\CoreController;

$sIcon = (array_key_exists('account-icon',CoreController::$aGlobalSettings))
? CoreController::$aGlobalSettings['account-icon'] : '';
?>
<div class="card">
<div class="card-header">
<h1 class="card-title"><?=$this->translate('My Account')?></h1>
<h1 class="card-title"><i class="<?=$sIcon?>"></i> <?=$this->translate('My Account')?></h1>
</div>
<div class="card-body">
<?php
use Application\Controller\CoreController;

if(is_object($oLicResponse)) {
if($oLicResponse->state == 'success') { ?>
<div class="row">

0 comments on commit cf9e016

Please sign in to comment.