Added link to editjob on runs-overview

This commit is contained in:
Jeroen De Meerleer 2018-09-07 15:54:55 +02:00
parent 30f3530a46
commit ae4cbad8ff
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
/*
* The MIT License
*
* Copyright 2017 Jeroen De Meerleer <me@jeroened.be>.
* Copyright 2017-2018 Jeroen De Meerleer <me@jeroened.be>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal

View File

@ -2,12 +2,13 @@
{% block title %}Overview of run for {{ title }}{% endblock %}
{% block content %}
<h2>Overview of runs for {{ title }}</h2>
<p>
<a href="editjob.php?jobID={{ jobID }}">Edit job</a>
{% if rebootjob %}
{% elseif allruns %}
<p><a href="runs.php?jobID={{ jobID }}&allruns=0">Only show failed runs</a></p>
{% elseif not allruns %}
<p><a href="runs.php?jobID={{ jobID }}&allruns=1">Show all runs</a></p>
{% elseif allruns %} | <a href="runs.php?jobID={{ jobID }}&allruns=0">Only show failed runs</a>
{% elseif not allruns %} | <a href="runs.php?jobID={{ jobID }}&allruns=1">Show all runs</a>
{% endif %}
</p>
<div id="accordion" class="panel-group">
{% for run in runs %}
<div class="panel panel-default">