Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
indicateur
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
indicateur
Commits
878e9389
Commit
878e9389
authored
Jul 24, 2023
by
Jean-Philippe Metivier
Browse files
Options
Downloads
Patches
Plain Diff
Changement index des indicateurs
parent
8eb6c000
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Module.php
+9
-9
9 additions, 9 deletions
Module.php
view/unicaen-indicateur/indicateur/index.phtml
+6
-3
6 additions, 3 deletions
view/unicaen-indicateur/indicateur/index.phtml
with
15 additions
and
12 deletions
Module.php
+
9
−
9
View file @
878e9389
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
namespace
UnicaenIndicateur
;
namespace
UnicaenIndicateur
;
use
Laminas\Config\Factory
as
ConfigFactory
;
use
Laminas\Config\Factory
as
ConfigFactory
;
use
Laminas\Console\Adapter\AdapterInterface
as
Console
;
use
Laminas\Mvc\ModuleRouteListener
;
use
Laminas\Mvc\ModuleRouteListener
;
use
Laminas\Mvc\MvcEvent
;
use
Laminas\Mvc\MvcEvent
;
use
Laminas\Stdlib\ArrayUtils
;
use
Laminas\Stdlib\ArrayUtils
;
use
Laminas\Stdlib\Glob
;
use
Laminas\Stdlib\Glob
;
use
Unicaen\Console\Console
;
class
Module
class
Module
{
{
...
@@ -45,12 +45,12 @@ class Module
...
@@ -45,12 +45,12 @@ class Module
);
);
}
}
public
function
getConsoleUsage
(
Console
$console
)
//
public function getConsoleUsage(Console $console)
{
//
{
return
[
//
return [
'indicateur-refresh'
=>
"Rafraichir la liste des indicateurs"
,
//
'indicateur-refresh' => "Rafraichir la liste des indicateurs",
//
'indicateur-notifier'
=>
"Notifier les personnes abonnées à des indicateurs avec les données du dernier rafraichissement"
,
//
'indicateur-notifier' => "Notifier les personnes abonnées à des indicateurs avec les données du dernier rafraichissement",
];
//
];
}
//
}
}
}
This diff is collapsed.
Click to expand it.
view/unicaen-indicateur/indicateur/index.phtml
+
6
−
3
View file @
878e9389
...
@@ -60,7 +60,6 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude
...
@@ -60,7 +60,6 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude
<thead>
<thead>
<tr>
<tr>
<th>
Titre
</th>
<th>
Titre
</th>
<th>
Description
</th>
<th>
Entity
</th>
<th>
Entity
</th>
<th>
#Abonnement
</th>
<th>
#Abonnement
</th>
<th>
Action
</th>
<th>
Action
</th>
...
@@ -69,8 +68,12 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude
...
@@ -69,8 +68,12 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude
<tbody>
<tbody>
<?php
foreach
(
$indicateurs
as
$indicateur
)
:
?>
<?php
foreach
(
$indicateurs
as
$indicateur
)
:
?>
<tr>
<tr>
<td>
<?php
echo
$indicateur
->
getTitre
();
?>
</td>
<td>
<td>
<?php
echo
$indicateur
->
getDescription
();
?>
</td>
<?php
echo
$indicateur
->
getTitre
();
?>
<?php
if
(
$indicateur
->
getDescription
())
:
?>
<span
class=
"icon icon-information"
title=
"
<?php
echo
$indicateur
->
getDescription
();
?>
"
></span>
<?php
endif
;
?>
</td>
<td>
<?php
echo
$indicateur
->
getEntity
();
?>
</td>
<td>
<?php
echo
$indicateur
->
getEntity
();
?>
</td>
<td>
<td>
<?php
echo
count
(
$indicateur
->
getAbonnements
());
?>
<?php
echo
count
(
$indicateur
->
getAbonnements
());
?>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment