Commit 43f7da3f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Headings for group files/views

parent 97b20a88
......@@ -73,7 +73,7 @@ $smarty = smarty(
),
)
);
$smarty->assign('heading', get_string('filesfor', 'artefact.file', $group->name));
$smarty->assign('heading', get_string('groupfilesfor', 'artefact.file', $group->name));
$smarty->assign('groupid', $groupid);
$smarty->assign('INLINEJAVASCRIPT', $javascript);
$smarty->display('artefact:file:index.tpl');
......
......@@ -59,13 +59,13 @@ $string['filelistloaded'] = 'File list loaded';
$string['filemoved'] = 'File moved successfully';
$string['filenamefieldisrequired'] = 'The file field is required';
$string['fileinstructions'] = 'Upload your images, documents, or other files for inclusion in views. To move a file or folder, drag and drop it onto a folder.';
$string['filesfor'] = 'Files for %s';
$string['filethingdeleted'] = '%s deleted';
$string['filetypes'] = 'Configure Uploadable File Types';
$string['filetypedescription'] = '<p>You may configure the allowed file types that users can upload here. This grants you more control over what can be uploaded. This checking is performed in addition to virus checking, if you have virus checking turned on.</p><p>Note that &quot;Unknown Application&quot; may be necessary for some movies and archive files (such as gzip) to work.<p>';
$string['folder'] = 'Folder';
$string['foldercreated'] = 'Folder created';
$string['groupfiles'] = 'Group Files';
$string['groupfilesfor'] = 'Group Files for %s';
$string['home'] = 'Home';
$string['htmlremovedmessage'] = 'You are viewing <strong>%s</strong> by <a href="%s">%s</a>. The file displayed below has been filtered to remove malicious content, and is only a rough representation of the original.';
$string['htmlremovedmessagenoowner'] = 'You are viewing <strong>%s</strong>. The file displayed below has been filtered to remove malicious content, and is only a rough representation of the original.';
......
......@@ -46,6 +46,7 @@ $string['ownerformatdescription'] = 'How do you want people who look at your Vie
// my views
$string['artefacts'] = 'Artefacts';
$string['myviews'] = 'My Views';
$string['groupviewsfor'] = 'Group Views for %s';
$string['reallyaddaccesstoemptyview'] = 'Your View contains no artefacts. Do you really want to give these users access to the View?';
$string['viewdeleted'] = 'View deleted';
$string['viewsubmitted'] = 'View submitted';
......
......@@ -59,7 +59,7 @@ $smarty = smarty();
$smarty->assign('groupid', $group);
$smarty->assign('views', $data->data);
$smarty->assign('pagination', $pagination['html']);
$smarty->assign('heading', get_string('groupviews'));
$smarty->assign('heading', get_string('groupviewsfor', 'view', get_field('group', 'name', 'id', $group)));
$smarty->display('view/index.tpl');
?>
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