Commit 4b6763c6 authored by Nigel McNie's avatar Nigel McNie
Browse files

Move the help icon for view/view down to near the links that it is help for,...

Move the help icon for view/view down to near the links that it is help for, rather than leaving it as page help.
parent 71384165
<h3>Accessing artefacts</h3>
<h4>Place feedback</h4>
<p>Public feedback may be seen by other users with access to the view, while private feedback may only be read by the view owner. A view owner can make private feedback public.</p>
<p>Tutors can include a file with their feedback where the view has been submitted to them for assessment.</p>
<p>Public feedback may be seen by other users with access to the view, while private feedback may only be read by the view owner. A view owner can make public feedback private.</p>
<h4>Report objectionable material</h4>
<p>You can report material you believe to be objectionable to the Site Administrator.</p>
<h4>Print</h3>
<h4>Print</h4>
<p>The Print option will allow you print a printer friendly version of the view.</p>
<h4>Add View to Watchlist</h4>
<p>If a view is on your watchlist you receive notification of changes.</p>
\ No newline at end of file
<p>If a view is on your watchlist you receive a notification when the author changes the view.</p>
......@@ -31,6 +31,6 @@ $config->version = 2008012500;
$config->release = '1.0.0beta2dev';
$config->minupgradefrom = 2007080700;
$config->minupgraderelease = '0.8.0 (release tag 0.8.0_RELEASE)';
$config->disablelogin = false;
$config->disablelogin = true;
?>
{include file="header.tpl"}
{include file="columnfullstart.tpl"}
<h2>{$heading}</h2>
{if $can_edit}
<div class="fr editview">
<span class="settingsicon">
......
......@@ -42,7 +42,13 @@ if (!can_view_view($viewid)) {
}
define('TITLE', $view->get('title') . ' ' . get_string('by', 'view') . ' ' . $view->formatted_owner());
$heading = '<a href="' . get_config('wwwroot') . 'view/view.php?id=' . $view->get('id') .'">' . hsc($view->get('title')) . '</a> ' . get_string('by', 'view') . ' <a href="' . get_config('wwwroot') .'user/view.php?id=' . $view->get('owner'). '">' . $view->formatted_owner() . '</a>';
if ($new) {
$heading = hsc($view->get('title'));
}
else {
$heading = '<a href="' . get_config('wwwroot') . 'view/view.php?id=' . $view->get('id') .'">' . hsc($view->get('title')) . '</a>';
}
$heading .= ' ' . get_string('by', 'view') . ' <a href="' . get_config('wwwroot') .'user/view.php?id=' . $view->get('owner'). '">' . $view->formatted_owner() . '</a>';
$tutorfilefeedbackformrow = '';
......@@ -181,6 +187,10 @@ function view_menu() {
e.stop();
});
appendChildNodes('viewmenu', ' | ', link);
var helpIcon = contextualHelpIcon(null, null, 'core', 'view', null, 'viewmenu');
appendChildNodes('viewmenu', ' ', helpIcon);
}
}
......@@ -258,7 +268,6 @@ $smarty = smarty(
)
);
$smarty->assign('heading', $heading);
$smarty->assign('noheadingescape', true);
$smarty->assign('INLINEJAVASCRIPT', $javascript);
$smarty->assign('viewid', $viewid);
$smarty->assign('viewtitle', $view->get('title'));
......
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