Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Damien Armillon
API Toucan
Commits
bc54d0b1
Commit
bc54d0b1
authored
May 18, 2019
by
Damien
Browse files
Change decrepated url
parent
7b32ff74
Changes
2
Hide whitespace changes
Inline
Side-by-side
front/src/view/AdminPage/showToucan/ToucanLine.js
View file @
bc54d0b1
...
...
@@ -18,7 +18,7 @@ class ToucanLine extends Component {
return
(
<
Table
.
Row
>
<
Table
.
Cell
>
<
a
href
=
{
`
${
env
.
backURL
}
/toucan/pdf/
${
this
.
props
.
toucan
[
"
_id
"
]}
`
}
>
<
a
href
=
{
`
${
env
.
backURL
}
/toucan/pdf/
${
this
.
props
.
toucan
[
"
_id
"
]}
.pdf
`
}
>
<
Image
src
=
{
`
${
env
.
backURL
}
/toucan/img/
${
this
.
props
.
toucan
[
"
_id
"
]}
`
}
size
=
"
small
"
...
...
front/src/view/AllToucanPage/AllToucanPage.js
View file @
bc54d0b1
...
...
@@ -30,7 +30,7 @@ class AllToucan extends Component {
{
this
.
state
.
toucans
.
map
(
toucan
=>
{
return
<
ToucanCard
image
=
{
`
${
env
.
backURL
}
/toucan/img/
${
toucan
[
"
_id
"
]}
`
}
link
=
{
`
${
env
.
backURL
}
/toucan/pdf/
${
toucan
[
"
_id
"
]}
`
}
link
=
{
`
${
env
.
backURL
}
/toucan/pdf/
${
toucan
[
"
_id
"
]}
.pdf
`
}
header
=
{
toucan
.
title
}
date
=
{(
new
Date
(
toucan
.
date
).
toLocaleDateString
())}
key
=
{
toucan
.
_id
}
...
...
Write
Preview
Supports
Markdown
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