Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
app
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
Container registry
Model registry
Operate
Environments
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
app
Commits
559b4a20
Commit
559b4a20
authored
3 years ago
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Le composant TabAjax ajoute les urls dans les attributs data-url des tab-panes
parent
d9c5ba53
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
src/UnicaenApp/View/Helper/TabAjax/TabAjaxViewHelper.php
+4
-3
4 additions, 3 deletions
src/UnicaenApp/View/Helper/TabAjax/TabAjaxViewHelper.php
with
8 additions
and
3 deletions
CHANGELOG.md
+
4
−
0
View file @
559b4a20
CHANGELOG
=========
3.
1.21
------
-
Le composant TabAjax ajoute les urls dans les attributs data-url des tab-panes
3.
1.20
------
-
Ajout du support de 2 fonctions SQL oracle/postgres : replace() et chr()
...
...
This diff is collapsed.
Click to expand it.
src/UnicaenApp/View/Helper/TabAjax/TabAjaxViewHelper.php
+
4
−
3
View file @
559b4a20
...
...
@@ -295,6 +295,7 @@ class TabAjaxViewHelper extends AbstractHtmlElement
$attrs
=
[
'role'
=>
'tabpanel'
,
'class'
=>
[
'tab-pane'
],
'data-url'
=>
$tab
->
getUrl
(),
'id'
=>
$id
,
];
if
(
$this
->
getSelected
()
===
$tab
)
$attrs
[
'class'
][]
=
'active'
;
...
...
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