Skip to content

Commit 3c16c7f

Browse files
committed
change report view page to verified/unverified rather than yes/no (closes #101)
1 parent ab46f37 commit 3c16c7f

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

views/mobile/reports_view.php

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
<div class="report_info">
22
<div class="verified <?php
3-
if ($incident->incident_verified == 1)
4-
{
5-
echo "verified_yes";
6-
}
7-
?>">
8-
Verified
9-
<br /><?php
10-
if ($incident->incident_verified == 1)
11-
{
12-
echo "<span>YES</span>";
13-
}
14-
else
15-
{
16-
echo "<span>NO</span>";
17-
}
18-
?></div>
3+
if ($incident->incident_verified == 1)
4+
{
5+
echo 'verified_yes">Verified</div>';
6+
} else {
7+
echo '">Unverified</div>';
8+
}
9+
?>
1910
<h2><?php echo $incident->incident_title; ?></h2>
2011
<ul class="details">
2112
<li>

0 commit comments

Comments
 (0)