Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
5d217864
Commit
5d217864
authored
Jan 27, 2019
by
xiphon
Browse files
use hardcoded path to fill in 'local-url' in 'ffs.json' and 'complete.json'
parent
e25d6a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Console/Commands/UpdateSiteProposals.php
View file @
5d217864
...
...
@@ -108,7 +108,7 @@ class UpdateSiteProposals extends Command
$prop
->
name
=
$proposal
->
title
;
$prop
->
{
'donate-url'
}
=
url
(
"projects/
{
$proposal
->
payment_id
}
/donate"
);
$prop
->
{
'gitlab-url'
}
=
$proposal
->
gitlab_url
;
$prop
->
{
'local-url'
}
=
'
#
'
;
$prop
->
{
'local-url'
}
=
'
/forum-funding-system/proposals/'
.
pathinfo
(
$proposal
->
filename
,
PATHINFO_FILENAME
)
.
'.html
'
;
$prop
->
milestones
=
$proposal
->
milestones
;
$prop
->
{
'milestones-completed'
}
=
$proposal
->
milestones_completed
;
$milestones_percentage
=
min
(
100
,
(
int
)((
$proposal
->
milestones_completed
*
100
)
/
$proposal
->
milestones
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment