Add ability to edit editrequests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
{{ package.title or "Create Package" }}
|
||||
{{ package.title or "Edit Request" }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -7,6 +7,9 @@
|
||||
{% block content %}
|
||||
<h1>{{ request.title }} by {{ request.author.display_name }}</h1>
|
||||
<p>
|
||||
{% if request.status != 1 and request.status != 2 and request.checkPerm(current_user, 'EDIT_EDITREQUEST') %}
|
||||
<a href="{{ request.getEditURL() }}">Edit</a> |
|
||||
{% endif %}
|
||||
Package: <a href="{{ package.getDetailsURL() }}">{{ package.title }}</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user