Commit c08a28c0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove view title & adjust theming in 'Not objectionable' form


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 789e00c8
......@@ -118,7 +118,7 @@ $string['notifysiteadministrator'] = 'Notify site administrator';
$string['print'] = 'Print';
$string['reportobjectionablematerial'] = 'Report objectionable material';
$string['reportsent'] = 'Your report has been sent';
$string['viewobjectionableunmark'] = 'The View "%s", or something within it, has been reported as containing objectionable content. If this is no longer the case, you can click the button to remove this notice and notify the other administrators.';
$string['viewobjectionableunmark'] = 'This View, or something within it, has been reported as containing objectionable content. If this is no longer the case, you can click the button to remove this notice and notify the other administrators.';
$string['notobjectionable'] = 'Not objectionable';
$string['viewunobjectionablesubject'] = 'View %s was marked as not objectionable by %s';
$string['viewunobjectionablebody'] = '%s has looked at %s by %s and marked it as no longer containing objectionable material.';
......
......@@ -3101,7 +3101,7 @@ class View {
'elements' => array(
'text' => array(
'type' => 'html',
'value' => get_string('viewobjectionableunmark', 'view', $this->title),
'value' => get_string('viewobjectionableunmark', 'view'),
),
'submit' => array(
'type' => 'submit',
......
......@@ -1080,6 +1080,10 @@ div.error {
.message p:last-child {
margin: 1em 0 0 0;
}
.message.narrow {
width: 60%;
margin: .5em auto;
}
div.section {
padding-top: .75em;
}
......
{if $microheaders}{include file="viewmicroheader.tpl"}{else}{include file="header.tpl"}{/if}
{if $notrudeform}<div class="message delete">{$notrudeform|safe}</div>{/if}
{if $notrudeform}<div class="message delete narrow">{$notrudeform|safe}</div>{/if}
{if $maintitle}<h1>{$maintitle|safe}</h1>{/if}
......
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