Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
etat
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
etat
Commits
63b4bba7
Commit
63b4bba7
authored
2 years ago
by
Jean-Philippe Metivier
Browse files
Options
Downloads
Patches
Plain Diff
Blocage de la taille minimal de l'etat pour bloquer le retour à la ligne
parent
0320e839
Branches
Branches containing commit
Tags
5.0.1
Tags containing commit
No related merge requests found
Pipeline
#16965
passed
2 years ago
Stage: publish
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/UnicaenEtat/View/Helper/partial/etat-instance.phtml
+5
-1
5 additions, 1 deletion
src/UnicaenEtat/View/Helper/partial/etat-instance.phtml
src/UnicaenEtat/View/Helper/partial/etat-type.phtml
+1
-1
1 addition, 1 deletion
src/UnicaenEtat/View/Helper/partial/etat-type.phtml
with
6 additions
and
2 deletions
src/UnicaenEtat/View/Helper/partial/etat-instance.phtml
+
5
−
1
View file @
63b4bba7
...
...
@@ -13,6 +13,7 @@ $displayUser = (isset($options['display-user']) AND $options['display-user'] ===
$type
=
$instance
->
getType
();
?>
<?php
if
(
$displayDate
OR
$displayUser
)
:
?>
<div
class=
"row"
>
<div
class=
"col-md-3"
>
<?php
if
(
$type
)
:
?>
...
...
@@ -38,3 +39,6 @@ $type = $instance->getType();
</small>
</div>
</div>
<?php
else
:
?>
<?php
echo
$this
->
etattype
(
$type
);
?>
<?php
endif
;
?>
This diff is collapsed.
Click to expand it.
src/UnicaenEtat/View/Helper/partial/etat-type.phtml
+
1
−
1
View file @
63b4bba7
...
...
@@ -16,7 +16,7 @@ $categorie_icone = ($type AND $type->getCategorie())?$type->getCategorie()->getI
$categorie_libelle
=
(
$type
AND
$type
->
getCategorie
())
?
$type
->
getCategorie
()
->
getLibelle
()
:
null
;
?>
<div
style=
"display: inline-block;"
>
<div
style=
"display: inline-block;
min-width: 6rem;
"
>
<div
class=
"etat-leftpart"
title=
"
<?php
echo
str_replace
(
"'"
,
""
,
$type_libelle
);
?>
"
style=
"background:
<?php
echo
$type_couleur
;
?>
;"
>
<span
class=
"
<?php
echo
(
$type_icone
)
?:
"fa fa-question-circle"
;
?>
"
aria-hidden=
"true"
></span>
</div>
...
...
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
register
or
sign in
to comment