Commit ad3f67f2 authored by Penny Leach's avatar Penny Leach
Browse files

more contextual help stuff

parent da544193
......@@ -51,7 +51,9 @@ var communitylist = new TableRenderer(
},
function (r) {
var help = SPAN(null);
help.innerHTML = '{$edithelp}';
if (r._rownumber == 1) {
help.innerHTML = '{$edithelp}';
}
return TD(null, A({'href': '{$editurl}' + r.id}, '{$editstr}'), help);
}
]
......
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>Create New View</strong></h3>
<p> Create New View launches the 4 Step View creation process to create a new collection of Artefacts.</p>
</body>
</html>
<p><strong>Edit View Information</strong><br>
The Edit View Information area is equivalent to the Create View Step 1 page and allows you to change the Title, Access Start and End Dates, Description and your Name Display preference for your View. </p>
<p><strong>Edit View</strong><br>
The Edit View area is equivalent to the Create View Step 3 page and allows you to add to, or modify the display of the Artefacts associated with your View.</p>
<p><strong>Edit Access</strong><br>
The Edit View area is equivalent to the Create View Step 4 page and allows to you to add, modify or remove View access to any of your Groups, Communities and any individuals of your choice.</p>
<p><strong>Submit for Assessment</strong><br>
If you are preparing a View as part of an assessed task and you have been added as a member of a Controlled Membership Community that has an assigned Tutor, you will be able to Submit your View for assessment. <br>
Submit View will lock the entire View and all associated Artefacts from editing and provide a ‘snapshot’ of your View on a certain date, and send it to your Tutor. <br>
Note that any users with access to that View will still be able to place Feedback and Comments while it is locked for submission.<br>
Once the assessment process has been completed your tutor will release your View so that you may resume editing. You will be notified via Recent Activity when your View has been released from submission.</p>
......@@ -8,7 +8,7 @@
<div id="views">
<div style="text-align:right;">
<input type="button" class="button" value="{str tag="createnewview"}" onclick="window.location='create1.php';" id="createnew">
</div>
</div>{contextualhelp plugintype='core' pluginname='views' section='createviewbutton'}
<table id="viewlist">
<tbody>
</tbody>
......
......@@ -36,7 +36,7 @@ $getstring = quotestrings(array('mahara' => array(
'editaccess', 'editview', 'editviewinformation', 'submitted', 'submitview', 'submitviewquestion'
)));
$editcontrolshelp = get_help_icon('core', 'views', null, null, null, 'vieweditcontrols');
$javascript = <<<JAVASCRIPT
var viewlist = new TableRenderer(
......@@ -74,10 +74,14 @@ function title(r, communities) {
}
var f = FORM({'id':('form'+r.id),'method':'post','enctype':'multipart/form-data',
'encoding':'multipart/form-data'},
DIV(null,buttons),
DIV(null,assess));
DIV({'class': 'viewbuttons'}, buttons),
DIV({'class': 'viewbuttons'}, assess));
var s = SPAN();
if (r._rownumber == 1) {
s.innerHTML = '{$editcontrolshelp}';
}
return [TD(null,A({'href':'view.php?view='+r.id},r.title)),
TD(null,f)];
TD(null,f, s)];
}
function communityoption(community) {
......
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