Mercurial > farol > farol
comparison farol/templates/vulnerability/view_remediation.j2 @ 95:0b64dc3f50eb
Add deletion of Remediations
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 09 Oct 2014 16:26:55 +0200 |
parents | 2ce3676c9b2e |
children | 09915cbdf549 |
comparison
equal
deleted
inserted
replaced
94:1ca989387aeb | 95:0b64dc3f50eb |
---|---|
22 # along with this program; if not, write to the Free Software | 22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | 23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
24 -#} | 24 -#} |
25 | 25 |
26 {% extends "vulnerability/base.j2" %} | 26 {% extends "vulnerability/base.j2" %} |
27 {% from "macros.j2" import label_value, panel %} | 27 {% from "macros.j2" import label_value, panel, delete_button %} |
28 {% block title %}{{ remediation.getTitle() }}{% endblock %} | 28 {% block title %}{{ remediation.getTitle() }}{% endblock %} |
29 | 29 |
30 {% block i_content %} | 30 {% block i_content %} |
31 <a class="pull-right" href="{{ url_for('.edit_remediation', ordinal=ordinal, index=index) }}">edit</a> | 31 <a class="pull-right" href="{{ url_for('.edit_remediation', ordinal=ordinal, index=index) }}">edit</a> |
32 <div class='page-header'> | 32 <div class='page-header'> |
55 {% endwith %} | 55 {% endwith %} |
56 {% endfor %} | 56 {% endfor %} |
57 </ul> | 57 </ul> |
58 {% endcall %} | 58 {% endcall %} |
59 {% endif %} | 59 {% endif %} |
60 <div class="pull-right">{{ delete_button(url_for('.del_remediation', ordinal=ordinal, index=index)) }}</div> | |
60 {% endblock %} | 61 {% endblock %} |