This commit is contained in:
Vojtěch Sajdl
2017-12-12 14:17:10 +01:00
parent 3e973ad9de
commit f2600d0c56
4 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ class Incident
<div class="panel-body">
<?php echo $this->text; ?>
</div>
<div class="panel-footer">
<div class="panel-footer clearfix">
<small>Posted by: <?php echo $this->username;
if (isset($this->end_date)){?>
<span class="pull-right"><?php echo strtotime($this->end_date)>time()?"Ending:":"Ended:";?>&nbsp;<time class="pull-right timeago" datetime="<?php echo $this->end_date; ?>"><?php echo $this->end_date; ?></time></span>