Skip to content

Commit

Permalink
Eoxia#180 [Admin] add: PWA config lib
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Nov 24, 2023
1 parent b94228c commit 7024a34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/easycrm.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ function easycrm_admin_prepare_head(): array
$head[$h][2] = 'settings';
$h++;

$head[$h][0] = dol_buildpath('/saturne/admin/pwa.php', 1). '?module_name=EasyCRM&start_url=quickcreation.php';
$head[$h][1] = $conf->browser->layout != 'phone' ? '<i class="fas fa-mobile pictofixedwidth"></i>' . $langs->trans('PWA') : '<i class="fas fa-mobile"></i>';
$head[$h][2] = 'pwa';
$h++;

$head[$h][0] = dol_buildpath('/easycrm/admin/address.php', 1);
$head[$h][1] = $conf->browser->layout != 'phone' ? '<i class="fas fa-map-marker-alt pictofixedwidth"></i>' . $langs->trans('Addresses') : '<i class="fas fa-map-marker-alt"></i>';
$head[$h][2] = 'address';
Expand Down

0 comments on commit 7024a34

Please sign in to comment.