Commit 6894c876 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Change string to 'Moderate' and use less space for comment checkboxes


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 07340b03
......@@ -32,6 +32,7 @@ $string['Comments'] = 'Comments';
$string['comment'] = 'comment';
$string['comments'] = 'comments';
$string['Allow'] = 'Allow';
$string['allowcomments'] = 'Allow comments';
$string['attachfile'] = "Attach file";
$string['Attachments'] = "Attachments";
......@@ -62,6 +63,7 @@ $string['makepublicrequestsubject'] = 'Request to change private comment to publ
$string['makepublicrequestbyauthormessage'] = '%s has requested that you make their comment public.';
$string['makepublicrequestbyownermessage'] = '%s has requested that you make your comment public.';
$string['makepublicrequestsent'] = 'A message has been sent to %s to request that the comment be made public.';
$string['Moderate'] = 'Moderate';
$string['newfeedbacknotificationsubject'] = 'New feedback on %s';
$string['placefeedback'] = 'Place feedback';
$string['reallydeletethiscomment'] = 'Are you sure you want to delete this comment?';
......
......@@ -99,8 +99,6 @@ $string['publiclower'] = 'public';
$string['everyoneingroup'] = 'Everyone in Group';
$string['token'] = 'Secret URL';
$string['peoplewiththesecreturl'] = 'People with the Secret URL';
$string['allowfeedback'] = 'Allow feedback';
$string['approvefeedback'] = 'Approve feedback';
// view user
$string['inviteusertojoingroup'] = 'Invite this user to join a group';
......
......@@ -1342,6 +1342,7 @@ a.tag {
}
#accesslistitems .ai-container table th {
color: #555555;
min-width: 80px;
}
#accesslistitems table th img {
......
......@@ -84,12 +84,8 @@ function renderAccessListItem(item) {
TD(null, get_string('datetimeformatguide'))
),
TR({'class':'comments' + (allowcomments ? ' hidden' : '')},
TH(null, get_string('allowfeedback') + ':'),
TD(null, allowfdbk)
),
TR({'class':'comments' + (allowcomments ? ' hidden' : '')},
TH(null, get_string('approvefeedback') + ':'),
TD(null, approvefdbk)
TH(null, get_string('Comments') + ':'),
TD(null, allowfdbk, get_string('Allow'), approvefdbk, get_string('Moderate'))
)
)
);
......
......@@ -422,7 +422,15 @@ function editaccess_submit(Pieform $form, $values) {
$form = pieform($form);
$smarty = smarty(array('tablerenderer'), array(), array('mahara' => array('From', 'To', 'datetimeformatguide'),'view' => array('allowfeedback', 'approvefeedback')), array('sidebars' => false));
$smarty = smarty(
array('tablerenderer'),
array(),
array(
'mahara' => array('From', 'To', 'datetimeformatguide'),
'artefact.comment' => array('Comments', 'Allow', 'Moderate')
),
array('sidebars' => false)
);
$smarty->assign('INLINEJAVASCRIPT', $js);
$smarty->assign('PAGEHEADING', hsc(TITLE));
$smarty->assign('form', $form);
......
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