]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #5373 easier to access URL on reported content
authorcash <cash.costello@gmail.com>
Fri, 19 Apr 2013 13:34:51 +0000 (09:34 -0400)
committercash <cash.costello@gmail.com>
Fri, 19 Apr 2013 13:34:51 +0000 (09:34 -0400)
mod/reportedcontent/views/default/object/reported_content.php

index 0e733e154b44446bba6c4e1777078f7c01dfcca7..cc33f54fb748436286df138c1372d9d563903d22 100644 (file)
@@ -57,16 +57,6 @@ if ($report->state == 'archived') {
                <p>
                        <b><?php echo elgg_echo('reportedcontent:objecttitle'); ?>:</b>
                        <?php echo $report->title; ?>
-                       <br />
-                       <?php echo elgg_view('output/url', array(
-                               'href' => "#report-$report->guid",
-                               'text' => elgg_echo('reportedcontent:moreinfo'),
-                               'rel' => "toggle",
-                       ));
-                       ?>
-               </p>
-       </div>
-       <div class="report-details hidden" id="report-<?php echo $report->getGUID();?>">
                <p>
                        <b><?php echo elgg_echo('reportedcontent:objecturl'); ?>:</b>
                        <?php echo elgg_view('output/url', array(
@@ -76,6 +66,16 @@ if ($report->state == 'archived') {
                        ));
                        ?>
                </p>
+               <p>
+                       <?php echo elgg_view('output/url', array(
+                               'href' => "#report-$report->guid",
+                               'text' => elgg_echo('reportedcontent:moreinfo'),
+                               'rel' => "toggle",
+                       ));
+                       ?>
+               </p>
+       </div>
+       <div class="report-details hidden" id="report-<?php echo $report->getGUID();?>">
                <p>
                        <b><?php echo elgg_echo('reportedcontent:reason'); ?>:</b>
                        <?php echo $report->description; ?>