Commit 7ffa6a86 authored by Nigel McNie's avatar Nigel McNie Committed by Richard Mansfield
Browse files

Move profile information page to be index.html in line with spec.

parent 7cc84948
......@@ -53,8 +53,8 @@ class HtmlExportInternal extends HtmlExportArtefactPlugin {
$smarty->assign('sections', $sections);
$content = $smarty->fetch('export:html/internal:profileinfo.tpl');
if (!file_put_contents($this->fileroot . 'profileinfo.html', $content)) {
$content = $smarty->fetch('export:html/internal:index.tpl');
if (!file_put_contents($this->fileroot . 'index.html', $content)) {
throw new SystemException("Unable to write profile information page");
}
}
......
......@@ -2,5 +2,5 @@
<div id="profile-icon">{$icon}</div>
<ul>
<li><a href="files/internal/profilepage.html">View profile page</a></li>
<li><a href="files/internal/profileinfo.html">View all profile information</a></li>
<li><a href="files/internal/index.html">View all profile information</a></li>
</ul>
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