Commit 5d217864 authored by xiphon's avatar xiphon

use hardcoded path to fill in 'local-url' in 'ffs.json' and 'complete.json'

parent e25d6a9e
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment