Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
ELAN carrés
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Littérature et Arts Numériques
ELAN carrés
Commits
3f3bd3ad
Commit
3f3bd3ad
authored
Sep 11, 2019
by
Arnaud Bey
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix date & add edit link for inprogress projects
parent
df86c69b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
application/templates/default/elan.html.twig
application/templates/default/elan.html.twig
+1
-1
application/templates/default/square.html.twig
application/templates/default/square.html.twig
+5
-2
No files found.
application/templates/default/elan.html.twig
View file @
3f3bd3ad
...
...
@@ -33,7 +33,7 @@
<div
class=
"col"
>
<p
class=
"text-muted text-right"
>
<small>
Dernière mise à jour :
{{
elan.lastUpdate
|
date
}}
Dernière mise à jour :
{{
elan.lastUpdate
|
localizeddate
(
'long'
,
'none'
,
'fr'
)
}}
{%
if
isAdmin
%}
<a
href=
"
{{
path
(
'admin_create_elan'
,
{
id
:
elan.id
}
)
}}
"
><i
class=
"fas fa-edit"
></i></a>
{%
endif
%}
</small>
</p>
...
...
application/templates/default/square.html.twig
View file @
3f3bd3ad
<div
data-toggle=
"modal"
data-target=
"#square-
{{
square.id
}}
"
class=
"col-
{{
square.width
}}
"
>
<div
class=
"card clickable"
style=
"background:rgba(
{{
square.color
|
hex2rgb
(
0.7
)
}}
);"
>
<div
class=
"card-body"
style=
"color:rgba(
{{
square.textColor
|
hex2rgb
(
1
)
}}
);"
>
<h4
class=
"card-title text-center"
>
{{
square.title
}}
</h4>
<h4
class=
"card-title text-center"
>
{{
square.title
}}
{%
if
square.inThePipeline
and
isAdmin
%}
<a
href=
"
{{
path
(
'admin_create_square'
,
{
id
:
square.id
}
)
}}
"
><i
class=
"fas fa-edit"
></i></a>
{%
endif
%}
</h4>
<p
class=
"card-text text-center"
>
{{
square.subtitle
}}
</p>
</div>
</div>
...
...
@@ -22,7 +25,7 @@
<div
class=
"col"
>
<p
class=
"text-muted text-right"
>
<small>
Dernière mise à jour :
{{
square.lastUpdate
|
date
}}
Dernière mise à jour :
{{
square.lastUpdate
|
localizeddate
(
'long'
,
'none'
,
'fr'
)
}}
{%
if
isAdmin
%}
<a
href=
"
{{
path
(
'admin_create_square'
,
{
id
:
square.id
}
)
}}
"
><i
class=
"fas fa-edit"
></i></a>
{%
endif
%}
</small>
</p>
...
...
annegf
@Annegf
mentioned in issue
#1 (closed)
·
Oct 08, 2019
mentioned in issue
#1 (closed)
mentioned in issue #1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment