Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change report view page to verified/unverified rather than yes/no (cl…

…oses #101)
  • Loading branch information...
commit 841becc3ade01868c3ff934fce9a8059e7aac317 1 parent 2d06939
@mjollnir mjollnir authored rjmackay committed
Showing with 7 additions and 16 deletions.
  1. +7 −16 views/mobile/reports_view.php
View
23 views/mobile/reports_view.php
@@ -1,21 +1,12 @@
<div class="report_info">
<div class="verified <?php
- if ($incident->incident_verified == 1)
- {
- echo "verified_yes";
- }
- ?>">
- Verified
- <br /><?php
- if ($incident->incident_verified == 1)
- {
- echo "<span>YES</span>";
- }
- else
- {
- echo "<span>NO</span>";
- }
- ?></div>
+ if ($incident->incident_verified == 1)
+ {
+ echo 'verified_yes">Verified</div>';
+ } else {
+ echo '">Unverified</div>';
+ }
+ ?>
<h2><?php echo $incident->incident_title; ?></h2>
<ul class="details">
<li>
Please sign in to comment.
Something went wrong with that request. Please try again.