Minor fixes

This commit is contained in:
Vojtěch Sajdl 2018-01-12 22:38:19 +01:00
parent c25e8bcae8
commit f310aac8b5
No known key found for this signature in database
GPG Key ID: 5D4EB1361A272390
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class Incident
<div class="panel-heading clearfix">
<h2 class="panel-title"><?php echo $this->title; ?></h2>
<?php if ($admin){
echo '<a href="'.WEB_URL.'/?delete='.$this->id.'" class="pull-right delete"><i class="fa fa-trash"></i></a>';
echo '<a href="'.WEB_URL.'/admin/?delete='.$this->id.'" class="pull-right delete"><i class="fa fa-trash"></i></a>';
}?>
<time class="pull-right timeago" datetime="<?php echo $this->date; ?>"><?php echo $this->date; ?></time>
</div>

View File

@ -42,4 +42,4 @@ $classes = array("danger", "warning", "primary", "success" );
$icons = array("fa fa-times", "fa fa-exclamation", "fa fa-info", "fa fa-check" );
$some = array(_("Some systems are experiencing major outages"), _("Some systems are experiencing minor outages"), _("Some systems are under maintenance"));
$all = array(_("Our systems are experiencing major outages."), _("Our systems are experiencing minor outages"), _("Our systems are under maintenance"), _("All systems operational"));
$permissions = array(_("Super admin"), _("Admin"), _("Writer"));
$permissions = array(_("Super admin"), _("Admin"), _("Editor"));