Browse Source

Version 24.5.B

feature/rotating_product
Guillaume Bourgeois 7 months ago
parent
commit
65082a6270
3 changed files with 32 additions and 3 deletions
  1. +1
    -1
      common/config/params.php
  2. +28
    -0
      common/versions/24.5.B.php
  3. +3
    -2
      common/versions/_macros.php

+ 1
- 1
common/config/params.php View File

@@ -37,7 +37,7 @@
*/

return [
'version' => '24.5.A',
'version' => '24.5.B',
'maintenanceMode' => false,
'siteName' => 'Souke',
'tinyMcePlugins' => 'preview searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link lists wordcount help',

+ 28
- 0
common/versions/24.5.B.php View File

@@ -0,0 +1,28 @@
<?php

require_once dirname(__FILE__).'/_macros.php';

version(
'07/05/2024',
[
[
],
[
"[Administration] Communiquer > Email : correctif envois emails en masse (envois via nouveau prestataire : Brevo)"
]
],
[
[
"[Administration] Vue générale des utilisateurs",
"[Administration] Menu déroulant producteurs : ajout identifiant + entrée rapide avec la touche Entrée",
"[Administration] Support > tickets : notification par email pour l'admin quand une réponse est apportée à un ticket",
"[Administration] Utilisateurs > modifier : possibilité de définir un mot de passe manuellement"
],
[
"[Administration] Support admin : correctif count tickets dans le menu"
]
],
$userCurrent
);

?>

+ 3
- 2
common/versions/_macros.php View File

@@ -19,14 +19,15 @@ function release_date(string $date) {

function features(array $featuresArray, array $featuresAdminArray, User $userCurrent) {
$userModule = UserModule::getInstance();
if(count($featuresArray) > 0 || count($featuresAdminArray) > 0) {
$isGrantedAsUserCurrent = $userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent);
if(count($featuresArray) > 0 || (count($featuresAdminArray) > 0 && $isGrantedAsUserCurrent)) {
$html = '<div class="block block-features">';
$html .= '<h4><span class="glyphicon glyphicon-flash"></span> Évolutions</h4>';
$html .= '<ul>';
foreach($featuresArray as $feature) {
$html .= '<li>'.$feature.'</li>';
}
if($userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent)) {
if($isGrantedAsUserCurrent) {
foreach($featuresAdminArray as $feature) {
$html .= '<li class="admin">'.$feature.'</li>';
}

Loading…
Cancel
Save